From bdc10765dc58316db60d2e1d8f2ff48ceaf9396c Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Thu, 19 Apr 2012 11:52:32 +0200 Subject: usb: core: Fix in ST-E changes after 3.4 porting This fix must be verified Signed-off-by: Philippe Langlais --- drivers/usb/core/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3