summaryrefslogtreecommitdiff
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-04-19 11:52:32 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:19 +0200
commitbdc10765dc58316db60d2e1d8f2ff48ceaf9396c (patch)
treec2ab218a79de84b23c276df29decc29edd4f72c9 /drivers/usb/core
parent9bb10417670288e04dfa32317bbf4614b3a0a15f (diff)
usb: core: Fix in ST-E changes after 3.4 porting
This fix must be verified Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index c90174ee4c1..b3eeb3e1d60 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -1312,7 +1312,7 @@ void usb_hnp_polling_work(struct work_struct *work)
/* Spec says host must suspend the bus with in 2 sec. */
if (*status & (1 << HOST_REQUEST_FLAG)) {
- do_unbind_rebind(udev, DO_UNBIND);
+ unbind_no_pm_drivers_interfaces(udev);
ret = usb_suspend_both(udev, PMSG_USER_SUSPEND);
if (ret)
dev_info(&udev->dev, "suspend failed\n");