diff options
author | Vikram Pandita <vikram.pandita@ti.com> | 2008-10-24 22:11:30 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 20:59:50 +0300 |
commit | 3a4e72cbf2ac4435630a2b03bd25e60ef5967e99 (patch) | |
tree | 9e52159e2e759cd0b31ad1c67c6c85da1a08075c /drivers/usb/host/oxu210hp-hcd.c | |
parent | 8e8ce4b642ce4beb865fb1d67cd8ea883d9ae7d7 (diff) | |
download | linux-3a4e72cbf2ac4435630a2b03bd25e60ef5967e99.tar.xz |
USB: Avoid 20ms delay in EHCI resume
For function ehci_bus_resume()
- Added flag resume_needed
No need to wait for 20ms if no port was suspended
- Change mdelay to msleep
- release and reacquire the spinlock around mdelay
Signed-off-by: vikram pandita <vikram.pandita@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/oxu210hp-hcd.c')
0 files changed, 0 insertions, 0 deletions