]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: make spin_lock_irq() human readable
authorMartin Kepplinger <martink@posteo.de>
Tue, 6 May 2014 05:58:39 +0000 (07:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:28:16 +0000 (13:28 -0700)
commit694ad984820f705187647d738138fc648ce0fa26
tree69379d83bdb2fa518c35c254d25f02249bcc98aa
parent03719b1523b6b1caabe9767c5022001a6b896632
staging: vt6656: make spin_lock_irq() human readable

Don't require FIRMWAREbDownload() to, first off, unlock a held lock.
Thus do all locking in main_usb.c and hold it for a insignificantly
shorter period of time. This makes the affected area significantly more
readable though.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/firmware.c
drivers/staging/vt6656/main_usb.c