aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-07-01 16:43:02 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 14:20:39 -0700
commite534c5b831c8b8e9f5edee5c8a37753c808b80dc (patch)
tree39e00c08e593edcbaeaa54a3288158a622be9e70 /arch/sparc
parent3140d5b2664309253ba465a14c89fe4f59c0359b (diff)
downloadkernel_samsung_espresso10-e534c5b831c8b8e9f5edee5c8a37753c808b80dc.zip
kernel_samsung_espresso10-e534c5b831c8b8e9f5edee5c8a37753c808b80dc.tar.gz
kernel_samsung_espresso10-e534c5b831c8b8e9f5edee5c8a37753c808b80dc.tar.bz2
USB: fix regression occurring during device removal
This patch (as1476) fixes a regression introduced by fccf4e86200b8f5edd9a65da26f150e32ba79808 (USB: Free bandwidth when usb_disable_device is called). usb_disconnect() grabs the bandwidth_mutex before calling usb_disable_device(), which calls down indirectly to usb_set_interface(), which tries to acquire the bandwidth_mutex. The fix causes usb_set_interface() to return early when it is called for an interface that has already been unregistered, which is what happens in usb_disable_device(). Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions