|
@@ -17,7 +17,7 @@ Signed-off-by: Florian Fainelli <florian@openwrt.org>
|
|
|
|
|
|
--- a/drivers/usb/host/ehci-hcd.c
|
|
--- a/drivers/usb/host/ehci-hcd.c
|
|
+++ b/drivers/usb/host/ehci-hcd.c
|
|
+++ b/drivers/usb/host/ehci-hcd.c
|
|
-@@ -651,7 +651,7 @@ static int ehci_run (struct usb_hcd *hcd
|
|
|
|
|
|
+@@ -652,7 +652,7 @@ static int ehci_run (struct usb_hcd *hcd
|
|
"USB %x.%x started, EHCI %x.%02x%s\n",
|
|
"USB %x.%x started, EHCI %x.%02x%s\n",
|
|
((ehci->sbrn & 0xf0)>>4), (ehci->sbrn & 0x0f),
|
|
((ehci->sbrn & 0xf0)>>4), (ehci->sbrn & 0x0f),
|
|
temp >> 8, temp & 0xff,
|
|
temp >> 8, temp & 0xff,
|
|
@@ -28,7 +28,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
|
|
-@@ -646,7 +646,7 @@ ehci_hub_status_data (struct usb_hcd *hc
|
|
|
|
|
|
+@@ -645,7 +645,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.
|
|
*/
|
|
*/
|
|
@@ -37,7 +37,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;
|
|
-@@ -1016,7 +1016,7 @@ int ehci_hub_control(
|
|
|
|
|
|
+@@ -1015,7 +1015,7 @@ 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;
|
|
|
|
|