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:
6aba2ae
)
xhci: fix wrong port number reported when setting USB2.0 hardware LPM.
author
Lin Wang
<
[email protected]
>
Thu, 8 May 2014 16:25:54 +0000
(19:25 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 20 May 2014 01:03:24 +0000
(10:03 +0900)
This patch fix wrong port number reported when trying to enable/disable
USB2.0 hardware LPM.
Signed-off-by: Lin Wang <
[email protected]
>
Signed-off-by: Mathias Nyman <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/host/xhci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci.c
b/drivers/usb/host/xhci.c
index 300836972faa41cb11b3c61bf4423f702e2d1d0c..708cb29ef3f86bba29c847a2a004e8229936ea49 100644
(file)
--- a/
drivers/usb/host/xhci.c
+++ b/
drivers/usb/host/xhci.c
@@
-4092,7
+4092,7
@@
int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd,
field = le32_to_cpu(udev->bos->ext_cap->bmAttributes);
xhci_dbg(xhci, "%s port %d USB2 hardware LPM\n",
- enable ? "enable" : "disable", port_num);
+ enable ? "enable" : "disable", port_num
+ 1
);
if (enable) {
/* Host supports BESL timeout instead of HIRD */