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)
commit7584f2ebc18b6355f21be5fb2f75afbf3f781ce5
tree048f31e5c303f4fcbb1cd5d7110598ffeec72d0f
parentc996b9379180ee578b9ea208bb4f197201bbb023
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