]> git.baikalelectronics.ru Git - kernel.git/commit
uwb: don't call spin_unlock_irq in a USB completion handler
authorThomas Pugliese <thomas.pugliese@gmail.com>
Wed, 23 Apr 2014 19:42:47 +0000 (14:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 19:45:40 +0000 (12:45 -0700)
commit82fa7284250b57ab2f68b820b531b7610717b511
treef0dc1591a2906562c00505c08c392360aa8c6db7
parent7ffc2f554201ff83325ad46ee9e0dfff8d4f2148
uwb: don't call spin_unlock_irq in a USB completion handler

This patch converts the use of spin_lock_irq/spin_unlock_irq to
spin_lock_irqsave/spin_unlock_irqrestore in uwb_rc_set_drp_cmd_done
which is called from a USB completion handler.  There are also
whitespace cleanups to make checkpatch.pl happy.

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