summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-07-05 07:52:36 +0200
committerJohn Crispin <john@phrozen.org>2017-07-06 06:37:03 +0200
commitfddc78bc116bc043fb5cd92dbc45cfd054c21af8 (patch)
treebb82a2b964986ddaec87414ab6b7b19b43ebc8b8 /target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch
parent05d6e92594c507dcd1f4be6c1bcb2282fe1abe1f (diff)
downloadmtk-20170518-fddc78bc116bc043fb5cd92dbc45cfd054c21af8.zip
mtk-20170518-fddc78bc116bc043fb5cd92dbc45cfd054c21af8.tar.gz
mtk-20170518-fddc78bc116bc043fb5cd92dbc45cfd054c21af8.tar.bz2
ramips: bump to v4.9
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch')
-rw-r--r--target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch b/target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch
deleted file mode 100644
index cef05ad..0000000
--- a/target/linux/ramips/patches-4.4/0069-awake-rt305x-dwc2-controller.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/drivers/usb/dwc2/platform.c
-+++ b/drivers/usb/dwc2/platform.c
-@@ -375,6 +375,12 @@ static int dwc2_driver_probe(struct plat
- dev_dbg(&dev->dev, "mapped PA %08lx to VA %p\n",
- (unsigned long)res->start, hsotg->regs);
-
-+ /* Enable USB port before any regs access */
-+ if (dwc2_readl(hsotg->regs + PCGCTL) & 0x0f) {
-+ dwc2_writel(0x00, hsotg->regs + PCGCTL);
-+ /* TODO: mdelay(25) here? vendor driver don't use it */
-+ }
-+
- hsotg->dr_mode = usb_get_dr_mode(&dev->dev);
- if (IS_ENABLED(CONFIG_USB_DWC2_HOST) &&
- hsotg->dr_mode != USB_DR_MODE_HOST) {