diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-11-21 15:13:10 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-28 13:58:35 -0800 |
commit | ddc1fd6ac1f3ad3275e19451fb07d2eff249161c (patch) | |
tree | b7e8512f25e22f8996dfcefbeb31ff6e7e7215e2 /drivers/usb/serial/sierra.c | |
parent | 6372594ac1779261926f2f2c4ef5e79936e4faef (diff) |
USB HCD: avoid duplicate local_irq_disable()
Arnd Bergmann wrote:
usb_hcd_flush_endpoint() has a retry loop that starts with a spin_lock_irq(),
but only gives up the spinlock, not the irq_disable before jumping to the
rescan label.
Alan Stern:
I agree with your sentiment, but it would be better to solve this
problem without using local_irq_disable().
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/sierra.c')
0 files changed, 0 insertions, 0 deletions