projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: Update kernel 4.9 to version 4.9.237
[openwrt/staging/hauke.git]
/
target
/
linux
/
generic
/
pending-4.9
/
110-ehci_hcd_ignore_oc.patch
diff --git
a/target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch
b/target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch
index 644d936574e27b826938b9d2a3e1e88bc4734172..883149fe4daffdabe8650037c5988c948822ad5f 100644
(file)
--- a/
target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch
+++ b/
target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch
@@
-17,7
+17,7
@@
Signed-off-by: Florian Fainelli <florian@openwrt.org>
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
-@@ -65
1,7 +651
,7 @@ static int ehci_run (struct usb_hcd *hcd
+@@ -65
2,7 +652
,7 @@ static int ehci_run (struct usb_hcd *hcd
"USB %x.%x started, EHCI %x.%02x%s\n",
((ehci->sbrn & 0xf0)>>4), (ehci->sbrn & 0x0f),
temp >> 8, temp & 0xff,
"USB %x.%x started, EHCI %x.%02x%s\n",
((ehci->sbrn & 0xf0)>>4), (ehci->sbrn & 0x0f),
temp >> 8, temp & 0xff,
@@
-28,7
+28,7
@@
Signed-off-by: Florian Fainelli <florian@openwrt.org>
&ehci->regs->intr_enable); /* Turn On Interrupts */
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
&ehci->regs->intr_enable); /* Turn On Interrupts */
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
-@@ -63
8,7 +638
,7 @@ ehci_hub_status_data (struct usb_hcd *hc
+@@ -63
7,7 +637
,7 @@ ehci_hub_status_data (struct usb_hcd *hc
* always set, seem to clear PORT_OCC and PORT_CSC when writing to
* PORT_POWER; that's surprising, but maybe within-spec.
*/
* always set, seem to clear PORT_OCC and PORT_CSC when writing to
* 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;
else
mask = PORT_CSC | PORT_PEC;
mask = PORT_CSC | PORT_PEC | PORT_OCC;
else
mask = PORT_CSC | PORT_PEC;
-@@ -100
8,7 +1008
,7 @@ int ehci_hub_control(
+@@ -100
7,7 +1007
,7 @@ int ehci_hub_control(
if (temp & PORT_PEC)
status |= USB_PORT_STAT_C_ENABLE << 16;
if (temp & PORT_PEC)
status |= USB_PORT_STAT_C_ENABLE << 16;