|
@@ -218,11 +218,13 @@ int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop,
|
|
|
clk_rate = 0;
|
|
|
|
|
|
needs_vcc = of_property_read_bool(node, "vcc-supply");
|
|
|
- nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset");
|
|
|
+ nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset",
|
|
|
+ GPIOD_ASIS);
|
|
|
err = PTR_ERR_OR_ZERO(nop->gpiod_reset);
|
|
|
if (!err) {
|
|
|
nop->gpiod_vbus = devm_gpiod_get_optional(dev,
|
|
|
- "vbus-detect");
|
|
|
+ "vbus-detect",
|
|
|
+ GPIOD_ASIS);
|
|
|
err = PTR_ERR_OR_ZERO(nop->gpiod_vbus);
|
|
|
}
|
|
|
} else if (pdata) {
|