Commit deb8df68 authored by Sean Anderson's avatar Sean Anderson Committed by Zheng Zengkai
Browse files

usb: phy: generic: Get the vbus supply

stable inclusion
from stable-v5.10.114
commit d22d92230ffbbfb696f3800bf53391bb2ef6a688
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5IY1V

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d22d92230ffbbfb696f3800bf53391bb2ef6a688



--------------------------------

commit 03e607cb upstream.

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: 7acc9973 ("usb: phy: generic: add vbus support")
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20220425171412.1188485-3-sean.anderson@seco.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 19953929
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment