u-boot/drivers/usb/dwc3
Marek Szyprowski 5c88b6ad40 usb: dwc3-meson-g12a: always configure dr-mode
dwc3_meson_g12a_force_mode() sets the dr-mode of the USB PHY. However
it skips setting the mode if it matches the one done during driver probe
(stored in private structure). This fails if the mode has been changed
to other value and then back to initial one. Fix this by configuring the
dr-mode always, regadless of the one set at the driver probe).

This fixes operation of USB gadget based drivers when they are initialized
for the second time.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-12-14 19:58:54 +01:00
..
core.c usb: dwc3: Fix not calling dev_xxx with a device 2020-09-30 08:53:54 -04:00
core.h usb: dwc3: amend UTMI/UTMIW phy interface setup 2020-05-29 18:13:19 +08:00
dwc3-generic.c usb: dwc3: Handle case where setup_phy is not needed 2020-11-22 13:18:20 +01:00
dwc3-meson-g12a.c usb: dwc3-meson-g12a: always configure dr-mode 2020-12-14 19:58:54 +01:00
dwc3-meson-gxl.c usb: dwc3: add Amlogic GXL & GXL DWC3 Glue 2020-10-05 17:59:45 +02:00
dwc3-omap.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
dwc3-uniphier.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
ep0.c usb: dwc3: Fix not calling dev_xxx with a device 2020-09-30 08:53:54 -04:00
gadget.c usb: dwc3: Fix not calling dev_xxx with a device 2020-09-30 08:53:54 -04:00
gadget.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.h common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
Kconfig usb: dwc3: add Amlogic GXL & GXL DWC3 Glue 2020-10-05 17:59:45 +02:00
linux-compat.h bug.h: introduce WARN_ONCE 2018-06-07 17:08:06 -04:00
Makefile usb: dwc3: add Amlogic GXL & GXL DWC3 Glue 2020-10-05 17:59:45 +02:00
samsung_usb_phy.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ti_usb_phy.c usb: dwc3: ti: Fix not calling dev_err with a device 2020-09-30 08:53:58 -04:00