diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-04 18:22:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-04 18:22:31 -0400 |
commit | d7940b04fa441b06b69f05faef43c5fb2156ab72 (patch) | |
tree | de5e119b95d334702ad009bf599e294b00507d52 /drivers/usb/core/driver.c | |
parent | 683eb94777c3c67b9b258765b9cb03641344c418 (diff) | |
parent | c043f1245654a726925529007210e9f786426448 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
USB: unbind all interfaces before rebinding them
USB: serial: digi_acceleport: Eliminate a NULL pointer dereference
usb: fix ehci_hcd build failure when both generic-OF and xilinx is selected
USB: cdc-acm: fix resource reclaim in error path of acm_probe
USB: ftdi_sio: fix DTR/RTS line modes
USB: s3c-hsotg: Ensure FIFOs are fully flushed after layout
USB: s3c-hsotg: SoftDisconnect minimum 3ms
USB: s3c-hsotg: Ensure TX FIFO addresses setup when initialising FIFOs
USB: s3c_hsotg: define USB_GADGET_DUALSPEED in Kconfig
USB: s3c: Enable soft disconnect during initialization
USB: xhci: Print NEC firmware version.
USB: xhci: Wait for host to start running.
USB: xhci: Wait for controller to be ready after reset.
USB: isp1362: fix inw warning on Blackfin systems
USB: mos7840: fix null-pointer dereference
Diffstat (limited to 'drivers/usb/core/driver.c')
-rw-r--r-- | drivers/usb/core/driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index ded550eda5d9..de98a94d1853 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c | |||
@@ -1328,6 +1328,7 @@ int usb_resume(struct device *dev, pm_message_t msg) | |||
1328 | 1328 | ||
1329 | /* For all other calls, take the device back to full power and | 1329 | /* For all other calls, take the device back to full power and |
1330 | * tell the PM core in case it was autosuspended previously. | 1330 | * tell the PM core in case it was autosuspended previously. |
1331 | * Unbind the interfaces that will need rebinding later. | ||
1331 | */ | 1332 | */ |
1332 | } else { | 1333 | } else { |
1333 | status = usb_resume_both(udev, msg); | 1334 | status = usb_resume_both(udev, msg); |
@@ -1336,6 +1337,7 @@ int usb_resume(struct device *dev, pm_message_t msg) | |||
1336 | pm_runtime_set_active(dev); | 1337 | pm_runtime_set_active(dev); |
1337 | pm_runtime_enable(dev); | 1338 | pm_runtime_enable(dev); |
1338 | udev->last_busy = jiffies; | 1339 | udev->last_busy = jiffies; |
1340 | do_unbind_rebind(udev, DO_REBIND); | ||
1339 | } | 1341 | } |
1340 | } | 1342 | } |
1341 | 1343 | ||