usb: phy: generic: Get the vbus supply
authorSean Anderson <sean.anderson@seco.com>
Tue, 23 Jan 2024 22:51:09 +0000 (17:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jan 2024 01:37:21 +0000 (17:37 -0800)
commit75fd6485cccef269ac9eb3b71cf56753341195ef
tree5b61d4838e04dc3f213adf9b38077c2ce97db471
parentc281d8a5a58a8c2dca797132ff48033d50fde742
usb: phy: generic: Get the vbus supply

While support for working with a vbus was added, the regulator was never
actually gotten (despite what was documented). Fix this by actually
getting the supply from the device tree.

Fixes: 7acc9973e3c4 ("usb: phy: generic: add vbus support")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20240123225111.1629405-3-sean.anderson@seco.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-generic.c