u-boot/drivers/usb/dwc3
Venkatesh Yadav Abbarapu 9871b0e5d0 usb: dwc3: Fix remove function if there is no ulpi_reset gpio
As ulpi_reset gpio is now optional, we need to check it when doing
the 'dwc3_generic_remove' function. Check if it is declared before
accessing the ulpi_reset.

Fixes: 237d1f60b1 ("usb: dwc3: Use the devm_gpiod_get_optional()
		     API for reset gpio")

Reported-by: Thomas Nizan <tnizan@witekio.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
2023-08-25 02:35:40 +02:00
..
core.c usb: dwc3: Drop support for "snps, ref-clock-period-ns" DT property 2022-11-27 15:34:56 +01:00
core.h usb: dwc3: Program GFLADJ 2022-11-27 15:34:56 +01:00
dwc3-generic.c usb: dwc3: Fix remove function if there is no ulpi_reset gpio 2023-08-25 02:35:40 +02:00
dwc3-generic.h usb: dwc3-generic: Add the size of regs property to glue structure 2023-02-22 19:40:11 +01:00
dwc3-layerscape.c usb: dwc3: add layerscape support 2021-11-09 17:18:23 +05:30
dwc3-meson-g12a.c usb: dwc3-meson-g12a: force mode on child add/removal 2023-01-17 09:27:17 +01:00
dwc3-meson-gxl.c usb: dwc3-meson-gxl: force mode on child add/removal 2023-01-20 16:21:31 +01: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 usb: dwc3-uniphier: Use dwc3-generic instead of xhci-dwc3 2023-02-22 19:40:11 +01:00
ep0.c usb: dwc3: Fix not calling dev_xxx with a device 2020-09-30 08:53:54 -04:00
gadget.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -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-meson-g12a: Select PHY instead of imply PHY 2023-03-02 22:42:27 +01:00
linux-compat.h lib: string: Implement strlcat 2021-04-12 17:44:55 -04:00
Makefile usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver 2022-07-15 14:10:39 +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