]> git.itanic.dy.fi Git - linux-stable/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)
commit03e607cbb2931374db1825f371e9c7f28526d3f4
tree8ba0109a3f2d1f859b1d8710a6600834770500fa
parentc7428dbddcf4ea1919e1c8e15f715b94ca359268
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")
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