]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: lpc18xx-usb-otg: error handling in lpc18xx_usb_otg_phy_power_on()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Thu, 22 Feb 2018 21:40:11 +0000 (00:40 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 16 Mar 2018 08:10:42 +0000 (13:40 +0530)
commit124380cb0e7a5fb704a81d135e5b7b4904c1ef95
treeb4c1baae331a729238129c99ce53f379be0f145e
parentd7119224bfe6e8efbf821a52db7da9530d790f07
phy: lpc18xx-usb-otg: error handling in lpc18xx_usb_otg_phy_power_on()

If regmap_update_bits() fails in lpc18xx_usb_otg_phy_power_on(),
lpc->clk is left enabled.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-lpc18xx-usb-otg.c