]> git.baikalelectronics.ru Git - uboot.git/commit
usb: dwc3: Use the devm_gpiod_get_optional() API for reset gpio
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Fri, 13 Jan 2023 05:12:02 +0000 (10:42 +0530)
committerMarek Vasut <marex@denx.de>
Tue, 21 Feb 2023 23:28:05 +0000 (00:28 +0100)
commit506d66e987ecbfad98914ca0c1a99dd59203141c
tree167854e5627413641fa484bc7ce8fca760e0511f
parent9a53bf0333ffb85673107d235ccbab4a1c04b041
usb: dwc3: Use the devm_gpiod_get_optional() API for reset gpio

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@amd.com>
drivers/usb/dwc3/dwc3-generic.c