]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: generic: Get the vbus supply
authorSean Anderson <sean.anderson@seco.com>
Mon, 25 Apr 2022 17:14:09 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 12:10:54 +0000 (14:10 +0200)
commita790492f4107ebda50f33116871795fd847884a7
tree8ba0109a3f2d1f859b1d8710a6600834770500fa
parentb7383e54039976a419bbbfad01b8e3efef1beb64
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: e79a1a456580 ("usb: phy: generic: add vbus support")
Cc: stable <stable@kernel.org>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20220425171412.1188485-3-sean.anderson@seco.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-generic.c