c3d6450e74
Function twl4030_usb_remove can cause unbalanced regulator disables in twl4030_phy_power if the cable is not connected. Regulator enable/disable calls are in balance only if the twl4030_phy_resume was called prior the twl4030_usb_remove, that is, the cable was connected. Fix this by checking the 'asleep' variable in twl4030_usb_remove since that variable is used to check state in other functions. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Cc: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
gpio_vbus.c | ||
isp1301_omap.c | ||
Kconfig | ||
langwell_otg.c | ||
Makefile | ||
nop-usb-xceiv.c | ||
otg.c | ||
twl4030-usb.c | ||
ulpi.c |