diff options
author | Hu hui <b29976@freescale.com> | 2010-10-12 14:05:13 +0800 |
---|---|---|
committer | Hu Hui <b29976@freescale.com> | 2010-10-13 10:33:53 +0800 |
commit | 2a769d0843947b44b107807af75e682404efa4dd (patch) | |
tree | ecb4398de3a8640b9d7d1e11741d76137764e4e4 /drivers/usb | |
parent | 0ec621f2740d83c9fddabda7faede731af0946fd (diff) |
ENGR00132477-2 IMX USB:fix some wakeup releated issues
Common Part
move the is_b_host detecting from common code to the driver,so keep
common code be same as the community
Signed-off-by: Hu Hui <b29976@freescale.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/driver.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 52aad6382d2f..babc9a2da20f 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c @@ -1313,13 +1313,6 @@ int usb_resume(struct device *dev, pm_message_t msg) struct usb_device *udev = to_usb_device(dev); int status; - /* - * At otg mode, it should not call host resume for usb gadget device - * Otherwise, this usb device can't be recognized as a gadget - */ - if (udev->bus->is_b_host) - return 0; - /* For PM complete calls, all we do is rebind interfaces */ if (msg.event == PM_EVENT_ON) { if (udev->state != USB_STATE_NOTATTACHED) |