diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-08-06 18:41:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 17:32:57 -0700 |
commit | 672c4e1843c54227ff1bdf1fdd96f9c45c56aa85 (patch) | |
tree | 0058bc781a433751b193e92c6fc65dbcda2ef64e /drivers/usb/storage | |
parent | 1f1ba11b64947051fc32aa15fcccef6463b433f7 (diff) |
usb: cdc-acm: bugfix release()
Bugfixes to the usb_driver_release_interface() usage;
(a) make sure releasing *either* interface first will release
the other, instead of insisting it be the control interface;
(b) remove the recently-added self-deadlock.
(The "fix disconnect bug in cdc-acm" patch was incomplete and incorrect.)
Plus a small "sparse" fix: rename a local variable so it doesn't
shadow a function parameter.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions