aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch')
-rw-r--r--target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch b/target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch
index 1ce7102a4e..f5283ed123 100644
--- a/target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch
+++ b/target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch
@@ -1,8 +1,8 @@
--- a/drivers/usb/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c
@@ -430,6 +430,12 @@ static int dwc2_driver_probe(struct plat
- if (retval)
- return retval;
+ if (retval)
+ return retval;
+ /* Enable USB port before any regs access */
+ if (readl(hsotg->regs + PCGCTL) & 0x0f) {
@@ -11,5 +11,5 @@
+ }
+
hsotg->needs_byte_swap = dwc2_check_core_endianness(hsotg);
-
+
retval = dwc2_get_dr_mode(hsotg);