From: Alan Stern Date: Wed, 21 Nov 2007 23:13:10 +0000 (-0800) Subject: USB HCD: avoid duplicate local_irq_disable() X-Git-Tag: v2.6.24-rc4~76^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc1fd6ac1f3ad3275e19451fb07d2eff249161c;p=pandora-kernel.git 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 Cc: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed