|
|
@ -31,7 +31,7 @@ Signed-off-by: Florian Fainelli <florian@openwrt.org> |
|
|
|
&ehci->regs->intr_enable); /* Turn On Interrupts */
|
|
|
|
&ehci->regs->intr_enable); /* Turn On Interrupts */
|
|
|
|
--- a/drivers/usb/host/ehci-hub.c
|
|
|
|
--- a/drivers/usb/host/ehci-hub.c
|
|
|
|
+++ b/drivers/usb/host/ehci-hub.c
|
|
|
|
+++ b/drivers/usb/host/ehci-hub.c
|
|
|
|
@@ -623,7 +623,7 @@ ehci_hub_status_data (struct usb_hcd *hc
|
|
|
|
@@ -641,7 +641,7 @@ ehci_hub_status_data (struct usb_hcd *hc
|
|
|
|
* always set, seem to clear PORT_OCC and PORT_CSC when writing to
|
|
|
|
* always set, seem to clear PORT_OCC and PORT_CSC when writing to
|
|
|
|
* PORT_POWER; that's surprising, but maybe within-spec.
|
|
|
|
* PORT_POWER; that's surprising, but maybe within-spec.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -40,7 +40,7 @@ Signed-off-by: Florian Fainelli <florian@openwrt.org> |
|
|
|
mask = PORT_CSC | PORT_PEC | PORT_OCC;
|
|
|
|
mask = PORT_CSC | PORT_PEC | PORT_OCC;
|
|
|
|
else
|
|
|
|
else
|
|
|
|
mask = PORT_CSC | PORT_PEC;
|
|
|
|
mask = PORT_CSC | PORT_PEC;
|
|
|
|
@@ -983,7 +983,7 @@ static int ehci_hub_control (
|
|
|
|
@@ -1001,7 +1001,7 @@ static int ehci_hub_control (
|
|
|
|
if (temp & PORT_PEC)
|
|
|
|
if (temp & PORT_PEC)
|
|
|
|
status |= USB_PORT_STAT_C_ENABLE << 16;
|
|
|
|
status |= USB_PORT_STAT_C_ENABLE << 16;
|
|
|
|
|
|
|
|
|
|
|
|