summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-07-06 13:23:36 -0400
committerTom Rini <trini@konsulko.com>2023-07-06 13:23:36 -0400
commit56c7fac8ad89955d3e5d08864bbd1343a058bf4b (patch)
tree26f1e3ae478313365b714f2cc7f8a914ef6e3d8a /drivers/usb
parent6fc3107559310e4bd8c79282b9e81741be01888b (diff)
parentd266d4b63873c2176677a79d48faeb9db7d4acdd (diff)
downloadu-boot-56c7fac8ad89955d3e5d08864bbd1343a058bf4b.tar.gz
u-boot-56c7fac8ad89955d3e5d08864bbd1343a058bf4b.tar.bz2
u-boot-56c7fac8ad89955d3e5d08864bbd1343a058bf4b.zip
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-usb into next
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc3/dwc3-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index 66da5a8d6f..35e4b36a69 100644
--- a/drivers/usb/dwc3/dwc3-generic.c
+++ b/drivers/usb/dwc3/dwc3-generic.c
@@ -105,7 +105,7 @@ static int dwc3_generic_probe(struct udevice *dev,
if (CONFIG_IS_ENABLED(DM_GPIO) &&
device_is_compatible(dev->parent, "xlnx,zynqmp-dwc3")) {
priv->ulpi_reset = devm_gpiod_get_optional(dev->parent, "reset",
- GPIOD_ACTIVE_LOW);
+ GPIOD_IS_OUT | GPIOD_ACTIVE_LOW);
/* property is optional, don't return error! */
if (priv->ulpi_reset) {
/* Toggle ulpi to reset the phy. */