usb: common: usb-conn-gpio: Print error on failure to get VBUS
authorThierry Reding <treding@nvidia.com>
Thu, 6 Aug 2020 16:02:48 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 10:13:44 +0000 (12:13 +0200)
commitf06c206aadda5cb60d6c911d7ea5f15396b2008d
treeca5dd2a568bf6402d66e2029b084bd686fbfb806
parent4ddf1ac79e5f082451cd549283d2eb7559ab6ca9
usb: common: usb-conn-gpio: Print error on failure to get VBUS

The exact error that happened trying to get the VBUS supply can be
useful to troubleshoot what's going on.

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