]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:20:04 +0000 (18:20 -0400)
commit0255a3b17b1cb68ef9d4b36e101d301383f7a3c6
tree05d0cd77723e14af1feafb2945896603f6f65cfb
parent330e860a08a0e9a1094b8e8b5eca507ada17d462
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