usb: phy: tegra: Disable VBUS regulator on tegra_usb_phy_init failure
authorDmitry Osipenko <digetx@gmail.com>
Mon, 6 Jan 2020 01:34:10 +0000 (04:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 15:21:58 +0000 (16:21 +0100)
commitaecc5af3ec1d6c5fb3d6c3e73276a7e53777166a
tree79199fa1791ed4bddc06b8d0214fa937dee94810
parent06e60e5038fa432900ffa956307459a1aabee1db
usb: phy: tegra: Disable VBUS regulator on tegra_usb_phy_init failure

VBUS regulator should be turned off in a case of error.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200106013416.9604-15-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-tegra-usb.c