[PATCH v2] usb: dwc3: Use the devm_gpiod_get_optional() API for reset gpio

Marek Vasut marex at denx.de
Wed Feb 22 02:06:21 CET 2023


On 1/13/23 06:12, Venkatesh Yadav Abbarapu wrote:
> As the "reset-gpios" property is optional, don't return the
> error and just skip the gpio reset sequence.
> 
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> ---
> Changes in v2:
> - Replaced the gpio_request_by_name() the API with
> devm_gpiod_get_optional().

The PX30 seems to fail to build:

https://source.denx.de/u-boot/custodians/u-boot-usb/-/jobs/580968


More information about the U-Boot mailing list