forked from LiBwrt/openwrt-6.x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually rebased: generic-backport/850-v5.13-usb-ehci-add-spurious-flag-to-disable-overcurrent-ch.patch All other patches automatically rebased. Signed-off-by: John Audia <[email protected]>
- Loading branch information
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
|
||
--- a/drivers/usb/host/ehci-hcd.c | ||
+++ b/drivers/usb/host/ehci-hcd.c | ||
@@ -678,6 +678,10 @@ int ehci_setup(struct usb_hcd *hcd) | ||
@@ -687,6 +687,10 @@ int ehci_setup(struct usb_hcd *hcd) | ||
|
||
/* cache this readonly data; minimize chip reads */ | ||
ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Signed-off-by: Greg Kroah-Hartman <[email protected]> | |
|
||
--- a/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 | ||
@@ -660,7 +660,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, | ||
|
@@ -57,7 +57,7 @@ Signed-off-by: Greg Kroah-Hartman <[email protected]> | |
/* | ||
--- a/drivers/usb/host/ehci-platform.c | ||
+++ b/drivers/usb/host/ehci-platform.c | ||
@@ -319,6 +319,8 @@ static int ehci_platform_probe(struct pl | ||
@@ -325,6 +325,8 @@ static int ehci_platform_probe(struct pl | ||
hcd->has_tt = 1; | ||
if (pdata->reset_on_resume) | ||
priv->reset_on_resume = true; | ||
|
@@ -68,10 +68,10 @@ Signed-off-by: Greg Kroah-Hartman <[email protected]> | |
if (ehci->big_endian_mmio) { | ||
--- a/drivers/usb/host/ehci.h | ||
+++ b/drivers/usb/host/ehci.h | ||
@@ -218,6 +218,7 @@ struct ehci_hcd { /* one per controlle | ||
unsigned frame_index_bug:1; /* MosChip (AKA NetMos) */ | ||
@@ -219,6 +219,7 @@ struct ehci_hcd { /* one per controlle | ||
unsigned need_oc_pp_cycle:1; /* MPC834X port power */ | ||
unsigned imx28_write_fix:1; /* For Freescale i.MX28 */ | ||
unsigned is_aspeed:1; | ||
+ unsigned spurious_oc:1; | ||
|
||
/* required for usb32 quirk */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,7 +163,7 @@ Signed-off-by: Peter Chen <[email protected]> | |
|
||
--- a/drivers/usb/host/ehci-hcd.c | ||
+++ b/drivers/usb/host/ehci-hcd.c | ||
@@ -1245,6 +1245,10 @@ static const struct hc_driver ehci_hc_dr | ||
@@ -1254,6 +1254,10 @@ static const struct hc_driver ehci_hc_dr | ||
* device support | ||
*/ | ||
.free_dev = ehci_remove_device, | ||
|