]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ab2fdf9e64600b1aded93f4e434311acde207b6
tree79199fa1791ed4bddc06b8d0214fa937dee94810
parentb15fe9ff0c483dbce53288b46cd9d07d48acfbc0
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