aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-06 11:23:38 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-06 11:23:38 +0100
commitcc4ee2eeb465c1f4404b91852e6c86a43923c55e (patch)
tree84d07be2fb63d7b3d5fa82ff086f0a38fe017a51 /target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch
parent20b6e014a61a9b40c30fab8184a9abd17f55085b (diff)
downloadupstream-cc4ee2eeb465c1f4404b91852e6c86a43923c55e.tar.gz
upstream-cc4ee2eeb465c1f4404b91852e6c86a43923c55e.tar.bz2
upstream-cc4ee2eeb465c1f4404b91852e6c86a43923c55e.zip
Revert "ramips: add support for kernel 5.10"
This reverts commit b4aad29a1d7ad77d67073c1c54b28c429c64ed9b. This was accidentally folded into a single commit. Remove it and apply it properly again. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch')
-rw-r--r--target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch b/target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch
deleted file mode 100644
index 19c8ec877e..0000000000
--- a/target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/drivers/usb/dwc2/platform.c
-+++ b/drivers/usb/dwc2/platform.c
-@@ -477,6 +477,12 @@ static int dwc2_driver_probe(struct plat
- if (retval)
- return retval;
-
-+ /* Enable USB port before any regs access */
-+ if (readl(hsotg->regs + PCGCTL) & 0x0f) {
-+ writel(0x00, hsotg->regs + PCGCTL);
-+ /* TODO: mdelay(25) here? vendor driver don't use it */
-+ }
-+
- hsotg->needs_byte_swap = dwc2_check_core_endianness(hsotg);
-
- retval = dwc2_get_dr_mode(hsotg);