]> git.dujemihanovic.xyz Git - u-boot.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)
commit237d1f60b1db52074441bc3a5848fe98503726a2
tree167854e5627413641fa484bc7ce8fca760e0511f
parent4eb7c5030d3f3c707c02a64dc8ea90de3da89928
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