projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00bfdda
)
drivers/usb/core/hub.c: fix CONFIG_USB_OTG=y build
author
David Brownell
<
[email protected]
>
Thu, 15 Jan 2009 21:51:28 +0000
(13:51 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 16 Jan 2009 00:39:41 +0000
(16:39 -0800)
Carry out the PM-routine interface change in the USB OTG pathway. This
was omitted from the earlier interface-change patch by mistake.
Signed-off-by: Alan Stern <
[email protected]
>
Cc: Greg KH <
[email protected]
>
Cc: Russell King <
[email protected]
>
Cc: Felipe Balbi <
[email protected]
>
Cc: Tony Lindgren <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index d5d0e40b1e2d158d7be86388f0aeaeb2106a39f1..94d5ee263c208d9f09968f7fc03ba068f26cd1de 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-1554,7
+1554,7
@@
static int usb_configure_device_otg(struct usb_device *udev)
* (Includes HNP test device.)
*/
if (udev->bus->b_hnp_enable || udev->bus->is_b_host) {
- err = usb_port_suspend(udev);
+ err = usb_port_suspend(udev
, PMSG_SUSPEND
);
if (err < 0)
dev_dbg(&udev->dev, "HNP fail, %d\n", err);
}