android_kernel_xiaomi_sm8350/drivers/usb/otg
Robert Jarzmik ecf85e481a USB: otg: Fix bug on remove path without transceiver
In the case where a gadget driver is removed while no
transceiver was found at probe time, a bug in
otg_put_transceiver() will trigger.

Provide symetric calls for otg_get_transceiver() and
otg_put_transceiver(), wherever a transceiver was found or
not.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-04-23 14:15:31 -07:00
..
gpio_vbus.c
isp1301_omap.c
Kconfig USB: TWL: disable VUSB regulators when cable unplugged 2009-03-24 16:20:36 -07:00
Makefile USB: otg: adding nop usb transceiver 2009-03-24 16:20:30 -07:00
nop-usb-xceiv.c Replace all DMA_nBIT_MASK macro with DMA_BIT_MASK(n) 2009-04-13 15:04:33 -07:00
otg.c USB: otg: Fix bug on remove path without transceiver 2009-04-23 14:15:31 -07:00
twl4030-usb.c USB: TWL: disable VUSB regulators when cable unplugged 2009-03-24 16:20:36 -07:00