linux/drivers/staging/ced1401
Daeseok Youn 223eaa377d staging: ced401: fix double unlock bug
After spin_lock() is called, all of if-else conditions in this brace
should reach the end of else and spin_unlock() must be called.
So It doesn't need to call spin_unlock() without a return statement
for handling an error.

Also sparse says:
drivers/staging/ced1401/usb1401.c:1080:28: warning:
 context imbalance in 'Handle1401Esc' - unexpected unlock

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-27 08:39:27 -08:00
..
userspace Staging: ced1401: Patch removes typedef unsigned int DWORD. 2013-05-16 16:34:22 -07:00
ced_ioc.c staging: ced1401: Fix dev_<level> messages 2014-02-07 09:59:44 -08:00
ced_ioctl.h Staging: ced1401: Fixes C pointer format warnings 2013-05-15 13:16:21 -04:00
Kconfig Staging: ced1401: add driver to the build 2012-09-17 20:30:02 -07:00
machine.h Staging: ced1401: Patch removes unused typedefs. 2013-05-16 16:34:22 -07:00
Makefile Staging: ced1401: add driver to the build 2012-09-17 20:30:02 -07:00
TODO Staging: ced1401: add TODO file 2012-09-17 19:46:05 -07:00
usb1401.c staging: ced401: fix double unlock bug 2014-02-27 08:39:27 -08:00
usb1401.h Staging: ced1401: Fixes 'open brace should be on the previous line'. 2013-05-15 13:16:22 -04:00
use14_ioc.h Staging: ced1401: Patch removes typedef unsigned int DWORD. 2013-05-16 16:34:22 -07:00
use1401.h Staging: ced1401: Patch removes typedef unsigned int DWORD. 2013-05-16 16:34:22 -07:00