diff options
Diffstat (limited to 'target/linux/ramips/patches-5.4/0032-USB-dwc2-add-device_reset.patch')
-rw-r--r-- | target/linux/ramips/patches-5.4/0032-USB-dwc2-add-device_reset.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/patches-5.4/0032-USB-dwc2-add-device_reset.patch b/target/linux/ramips/patches-5.4/0032-USB-dwc2-add-device_reset.patch index c04e2db661..ec837cda93 100644 --- a/target/linux/ramips/patches-5.4/0032-USB-dwc2-add-device_reset.patch +++ b/target/linux/ramips/patches-5.4/0032-USB-dwc2-add-device_reset.patch @@ -10,7 +10,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> --- a/drivers/usb/dwc2/hcd.c +++ b/drivers/usb/dwc2/hcd.c -@@ -48,6 +48,7 @@ +@@ -49,6 +49,7 @@ #include <linux/io.h> #include <linux/slab.h> #include <linux/usb.h> @@ -18,12 +18,12 @@ Signed-off-by: John Crispin <blogic@openwrt.org> #include <linux/usb/hcd.h> #include <linux/usb/ch11.h> -@@ -5215,6 +5216,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hso +@@ -5023,6 +5024,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hso retval = -ENOMEM; + device_reset(hsotg->dev); + - hcfg = dwc2_readl(hsotg->regs + HCFG); + hcfg = dwc2_readl(hsotg, HCFG); dev_dbg(hsotg->dev, "hcfg=%08x\n", hcfg); |