summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2009-04-22 05:33:10 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-23 23:15:31 +0200
commitecf85e481a716cfe07406439fdc7ba9526bbfaeb (patch)
treef74809ac41d451e9fe721723a013db26d40adedc /drivers/media/video
parentUSB: correct error handling in cdc-wdm (diff)
downloadlinux-ecf85e481a716cfe07406439fdc7ba9526bbfaeb.tar.xz
linux-ecf85e481a716cfe07406439fdc7ba9526bbfaeb.zip
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>
Diffstat (limited to 'drivers/media/video')
0 files changed, 0 insertions, 0 deletions