linux/drivers/staging/unisys
Tim Sell 4145ba76b1 staging: unisys: visornic: prevent double-unlock of priv_lock
Previously, devdata->priv_lock was being unlocked in visornic_serverdown()
both before calling visornic_serverdown_complete(), then again at the end
of the function.  This bug was corrected.

The structure of visornic_serverdown() was also improved to make it easier
to follow and to decrease the chance that such bugs will be introduced
again.  The main-path logic now falls thru down the left-side of the page,
with a common error-exit point to handle error conditions.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-11 21:15:51 -07:00
..
Documentation staging: unisys: visorbus: remove unused sysfs attribute devmajorminor/* 2016-03-28 07:30:36 -07:00
include staging: unisys: removed unused 'visor_device.respond_to_device_create' 2016-04-11 21:15:51 -07:00
visorbus staging: unisys: visorbus: make bus_epilog match device_epilog 2016-04-11 21:13:51 -07:00
visorhba staging: unisys: Modify boolean assignment 2016-02-11 19:37:15 -08:00
visorinput staging: unisys: visorinput: remove erroneous 'FIXME' comments 2016-04-11 21:15:51 -07:00
visornic staging: unisys: visornic: prevent double-unlock of priv_lock 2016-04-11 21:15:51 -07:00
Kconfig staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
MAINTAINERS staging: unisys: Update MAINTAINERS file 2016-03-01 19:14:07 -08:00
Makefile staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
TODO staging: unisys: documentation and TODO tweaks 2015-09-12 18:24:43 -07:00