commit | ecf85e481a716cfe07406439fdc7ba9526bbfaeb | [log] [tgz] |
---|---|---|
author | Robert Jarzmik <robert.jarzmik@free.fr> | Tue Apr 21 20:33:10 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Apr 23 14:15:31 2009 -0700 |
tree | f74809ac41d451e9fe721723a013db26d40adedc | |
parent | 052fbc0d7f76106725c998183d64dcacecd21f8f [diff] |
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>