projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b9c05
)
Revert "usb: phy: generic: Get the vbus supply"
author
Dom Cobley
<popcornmix@gmail.com>
Mon, 23 May 2022 15:56:44 +0000
(16:56 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:40 +0000
(11:33 +0000)
This reverts commit
c0ea202fbc855d60bc4a0603ca52a9e80654b327
.
drivers/usb/phy/phy-generic.c
patch
|
blob
|
history
diff --git
a/drivers/usb/phy/phy-generic.c
b/drivers/usb/phy/phy-generic.c
index 770081b828a429326e8801981f9ec66a913b6890..c4b3f2484dc03b66eb54a5a00e95bee42b0c6ec0 100644
(file)
--- a/
drivers/usb/phy/phy-generic.c
+++ b/
drivers/usb/phy/phy-generic.c
@@
-261,13
+261,6
@@
int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop)
return dev_err_probe(dev, PTR_ERR(nop->vcc),
"could not get vcc regulator\n");
- nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus");
- if (PTR_ERR(nop->vbus_draw) == -ENODEV)
- nop->vbus_draw = NULL;
- if (IS_ERR(nop->vbus_draw))
- return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
- "could not get vbus regulator\n");
-
nop->dev = dev;
nop->phy.dev = nop->dev;
nop->phy.label = "nop-xceiv";