[PATCH] usb: dwc3: Fix remove function if there is no ulpi_reset gpio

Marek Vasut marex at denx.de
Wed Aug 9 14:38:18 CEST 2023

On 8/9/23 05:33, Venkatesh Yadav Abbarapu wrote:
> 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: 237d1f60b1d ("usb: dwc3: Use the devm_gpiod_get_optional()
> 		     API for reset gpio")

Applied, thanks

More information about the U-Boot mailing list