]> git.baikalelectronics.ru Git - kernel.git/commit
usb: common: usb-conn-gpio: Make VBUS supply optional
authorThierry Reding <treding@nvidia.com>
Thu, 6 Aug 2020 16:02:47 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 10:13:44 +0000 (12:13 +0200)
commit688826742bb01714d2f14b01a4f2d0798a0a73af
tree5bd8d5cc954f61d3193c8c422aaadccb5a7d5efe
parent127c2fd8ba5e83c87c563e427a09a19f8bda9489
usb: common: usb-conn-gpio: Make VBUS supply optional

If the connector is the child of a USB port and that USB port already
has a VBUS supply attached to it, it would be redundant to require the
connector to have a VBUS supply. In this case, allow the VBUS supply to
be optional.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200806160248.3936771-1-thierry.reding@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/common/usb-conn-gpio.c