linux-stable/drivers/staging
Tim Sell 83011b6cbe staging: unisys: visorinput: remove unnecessary locking
Locking in the _interrupt() function is NOT necessary so long as we ensure
that interrupts have been stopped whenever we need to pause or resume the
device, which we now do.

While a device is paused, we ensure that interrupts stay disabled, i.e.
that the _interrupt() function will NOT be called, yet remember the desired
state in devdata->interrupts_enabled if open() or close() are called are
called while the device is paused.  Then when the device is resumed, we
restore the actual state of interrupts (i.e., whether _interrupt() is going
to be called or not) to the desired state in devdata->interrupts_enabled.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Acked-By: Neil Horman <nhorman@tuxdriver.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-15 20:44:24 +02:00
..
android staging: android: ion: fix 'line over 80 characters' 2016-08-15 16:49:01 +02:00
board staging: board: line over 80 characters 2016-04-29 17:58:02 -07:00
clocking-wizard
comedi staging: comedi: drivers: usbduxfast: don't print error when allocating urb fails 2016-08-15 15:56:33 +02:00
dgnc staging: dgnc: remove useless variable 'ch_intr_rx' 2016-08-15 19:13:26 +02:00
emxx_udc staging: emxx_udc: allow modular build 2016-07-26 08:47:08 -07:00
fbtft
fsl-mc staging: fsl-mc: convert mc command build/parse to use C structs 2016-06-26 17:14:03 -07:00
fwserial Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
gdm724x staging/gdm724x: fix "alignment should match open parenthesis" issues 2016-05-09 14:25:52 +02:00
goldfish
gs_fpgaboot Staging: gs_fpgaboot: remove blank line in io.c 2016-03-29 12:43:14 -07:00
i4l staging: i4l: act2000: remove extra space 2016-05-01 14:33:34 -07:00
iio Third set of IIO new device support, features and cleanups for the 4.8 cycle. 2016-07-14 12:05:29 +09:00
ks7010 staging: ks7010: do not dereference priv if priv is null 2016-08-15 16:35:13 +02:00
lustre lustre: don't reinvent struct bio_vec 2016-08-15 18:48:28 +02:00
media staging: media: lirc: lirc_sasem: don't print error when allocating urb fails 2016-08-15 15:56:33 +02:00
most staging: most: hdm-usb: reduce context of list_del mutex 2016-08-15 20:36:47 +02:00
mt29f_spinand staging: mt29f_spinand: set ECC algorithm explicitly 2016-05-05 23:52:04 +02:00
netlogic
nvec
octeon
octeon-usb
olpc_dcon Revert "Staging: olpc_dcon: Remove obsolete driver" 2016-04-04 13:52:35 -07:00
rtl8188eu Revert "Staging: rtl8188eu: rtw_efuse: Use sizeof type *pointer instead of sizeof type." 2016-06-17 11:21:45 -07:00
rtl8192e treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
rtl8192u staging: rtl8192u: r8192U_core: don't print error when allocating urb fails 2016-08-15 15:56:33 +02:00
rtl8712 rtl8712: Fixed alignment to match open parenthesis 2016-05-01 13:57:12 -07:00
rtl8723au nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
rts5208 staging: rts5208: alignment to match open paranthesis 2016-04-29 17:58:02 -07:00
skein staging: skein: cleanup: align code to parentheses 2016-05-03 14:07:11 -07:00
slicoss staging: slicoss: fix missing blank line 2016-04-29 17:58:02 -07:00
sm750fb staging: sm750fb: initialize max_d to maximum D value of 6 2016-03-29 14:41:15 -07:00
speakup staging: speakup: ensure we do not overrun synths array 2016-08-15 19:14:54 +02:00
unisys staging: unisys: visorinput: remove unnecessary locking 2016-08-15 20:44:24 +02:00
vme Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
vt6655 Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
vt6656 staging: vt6656: main_usb: don't print error when allocating urb fails 2016-08-15 15:56:33 +02:00
wilc1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-07-27 12:03:20 -07:00
wlan-ng nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
xgifb staging: xgifb: fix block comments 2016-03-30 21:34:55 -07:00
Kconfig staging: ks7010: add driver from Nanonote extra-repository 2016-06-07 22:42:53 -07:00
Makefile staging: ks7010: add driver from Nanonote extra-repository 2016-06-07 22:42:53 -07:00