summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-11-12 22:35:13 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-11-14 01:45:06 +0300
commite50ae572b33646656fa7037541613834dcadedfb (patch)
tree8b6399e374401dea2ee7e170a39b596c62605f88 /drivers/spi/Kconfig
parent372dd6e8ed924e876f3beb598721e813ad7fa323 (diff)
downloadlinux-e50ae572b33646656fa7037541613834dcadedfb.tar.xz
USB: gadget: cdc-acm deadlock fix
This fixes a deadlock appearing with some USB peripheral drivers when running CDC ACM gadget code. The newish (2.6.27) CDC ACM event notification mechanism sends messages (IN to the host) which are short enough to fit in most FIFOs. That means that with some peripheral controller drivers (evidently not the ones used to verify the notification code!!) the completion callback can be issued before queue() returns. The deadlock would come because the completion callback and the event-issuing code shared a spinlock. Fix is trivial: drop that lock while queueing the message. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions