Skip to content

Commit fdada0d

Browse files
tq-steinagregkh
authored andcommitted
Revert "usb: phy: generic: Get the vbus supply"
This reverts commit 75fd648. This patch was applied twice by accident, causing probe failures. Revert the accident. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Fixes: 75fd648 ("usb: phy: generic: Get the vbus supply") Cc: stable <stable@kernel.org> Reviewed-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/20240314092628.1869414-1-alexander.stein@ew.tq-group.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 339f836 commit fdada0d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

drivers/usb/phy/phy-generic.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,6 @@ int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop)
262262
return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
263263
"could not get vbus regulator\n");
264264

265-
nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus");
266-
if (PTR_ERR(nop->vbus_draw) == -ENODEV)
267-
nop->vbus_draw = NULL;
268-
if (IS_ERR(nop->vbus_draw))
269-
return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
270-
"could not get vbus regulator\n");
271-
272265
nop->dev = dev;
273266
nop->phy.dev = nop->dev;
274267
nop->phy.label = "nop-xceiv";

0 commit comments

Comments
 (0)