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)
commitea9a8dae5acca2e2ac0421279de7818e92e4b251
tree69379d83bdb2fa518c35c254d25f02249bcc98aa
parentbc5cf6563576bb36baa7e93417b9a2e29999a5c6
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