From 9c2422709075196022fcbc2d0f5f83e01d02b951 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 13 Feb 2017 12:38:27 +0100 Subject: ramips: add v4.9 support NAND support is missing Signed-off-by: John Crispin --- .../0032-USB-dwc2-add-device_reset.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 target/linux/ramips/patches-4.9/0032-USB-dwc2-add-device_reset.patch (limited to 'target/linux/ramips/patches-4.9/0032-USB-dwc2-add-device_reset.patch') diff --git a/target/linux/ramips/patches-4.9/0032-USB-dwc2-add-device_reset.patch b/target/linux/ramips/patches-4.9/0032-USB-dwc2-add-device_reset.patch new file mode 100644 index 0000000000..efb3b802d2 --- /dev/null +++ b/target/linux/ramips/patches-4.9/0032-USB-dwc2-add-device_reset.patch @@ -0,0 +1,29 @@ +From a758e0870c6d1e4b0272f6e7f9efa9face5534bb Mon Sep 17 00:00:00 2001 +From: John Crispin +Date: Sun, 27 Jul 2014 09:49:07 +0100 +Subject: [PATCH 32/53] USB: dwc2: add device_reset() + +Signed-off-by: John Crispin +--- + drivers/usb/dwc2/hcd.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/drivers/usb/dwc2/hcd.c ++++ b/drivers/usb/dwc2/hcd.c +@@ -47,6 +47,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -4982,6 +4983,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hso + + retval = -ENOMEM; + ++ device_reset(hsotg->dev); ++ + hcfg = dwc2_readl(hsotg->regs + HCFG); + dev_dbg(hsotg->dev, "hcfg=%08x\n", hcfg); + -- cgit v1.2.3