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)
commitc996b9379180ee578b9ea208bb4f197201bbb023
treef0dc1591a2906562c00505c08c392360aa8c6db7
parentcd84f009e98b3aa6109503f80f66ccf3e19e8fa9
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