]> git.baikalelectronics.ru Git - kernel.git/commit
usb: wusbcore: convert nested lock to use spin_lock instead of spin_lock_irq
authorThomas Pugliese <thomas.pugliese@gmail.com>
Wed, 23 Apr 2014 19:32:27 +0000 (14:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 19:45:40 +0000 (12:45 -0700)
commita40c6d86b03737c98b57e4c6cad5b45198e3b68e
tree048f31e5c303f4fcbb1cd5d7110598ffeec72d0f
parent72f059e59bb0e39a4f0490b96db615298a176704
usb: wusbcore: convert nested lock to use spin_lock instead of spin_lock_irq

Nesting a spin_lock_irq/unlock_irq inside a lock that has already
disabled interrupts will enable interrupts before we are ready when
spin_unlock_irq is called.  This patch converts the inner lock to use
spin_lock and spin_unlock instead.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/wa-xfer.c