]> git.itanic.dy.fi Git - linux-stable/commit
usb: phy: generic: Get the vbus supply
authorSean Anderson <sean.anderson@seco.com>
Tue, 23 Jan 2024 22:51:09 +0000 (17:51 -0500)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:17:28 +0000 (18:17 -0400)
commita7484e9ddc7fae7fd63447a44b08fdb863d3b2aa
tree88c278d98290e4340087e5a113b64a56cdd8f6d7
parentebf5db13510a922bead1214752f5c65e16c3baae
usb: phy: generic: Get the vbus supply

[ Upstream commit 75fd6485cccef269ac9eb3b71cf56753341195ef ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/phy/phy-generic.c