From: David Brownell Date: Thu, 7 Aug 2008 01:41:12 +0000 (-0700) Subject: usb: cdc-acm: bugfix release() X-Git-Tag: v2.6.27-rc4~101^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=672c4e1843c54227ff1bdf1fdd96f9c45c56aa85;p=pandora-kernel.git 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 Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed