aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch
diff options
context:
space:
mode:
authorJohn Audia <graysky@archlinux.us>2020-07-16 07:03:17 -0400
committerPetr Štetiar <ynezz@true.cz>2020-07-17 11:00:33 +0200
commitb6443367d8bca111a64f4c111a872fd100cc7d90 (patch)
treeeb1b9ae308c2ed3149f3c76de40e331b4f0774b9 /target/linux/ramips/patches-5.4/0069-awake-rt305x-dwc2-controller.patch
parent2a43ab4a18b4dfe2f4e39b28b87c60b01e6dfd5c (diff)
downloadupstream-b6443367d8bca111a64f4c111a872fd100cc7d90.tar.gz
upstream-b6443367d8bca111a64f4c111a872fd100cc7d90.tar.bz2
upstream-b6443367d8bca111a64f4c111a872fd100cc7d90.zip
kernel: bump 5.4 to 5.4.52
update_kernel.sh refreshed all patches, no human interaction was needed Build system: x86_64 Run-tested: Netgear R7800 (ipq806x) Signed-off-by: John Audia <graysky@archlinux.us>
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);