projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f9168
)
xhci: Handle clear PORT_POWER feature.
author
Lan Tianyu
<tianyu.lan@intel.com>
Wed, 5 Sep 2012 05:44:35 +0000
(13:44 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 20:04:01 +0000
(13:04 -0700)
This patch makes the xHCI roothub code handle the clear PORT_POWER
feature request. Setting port power is already handled.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/xhci-hub.c
b/drivers/usb/host/xhci-hub.c
index 74bfc868b7ade609dc67cea66195bd499f92b067..03032b3e6ed2dd9daed5949138d03afa5c1c4cf8 100644
(file)
--- a/
drivers/usb/host/xhci-hub.c
+++ b/
drivers/usb/host/xhci-hub.c
@@
-865,6
+865,10
@@
int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
xhci_disable_port(hcd, xhci, wIndex,
port_array[wIndex], temp);
break;
+ case USB_PORT_FEAT_POWER:
+ xhci_writel(xhci, temp & ~PORT_POWER,
+ port_array[wIndex]);
+ break;
default:
goto error;
}