diff options
| author | 2016-06-10 21:48:25 -0400 | |
|---|---|---|
| committer | 2016-08-15 20:44:26 +0200 | |
| commit | 24ce1b66619c499f5913eac5debf9170f7a9dcc3 (patch) | |
| tree | 318a1e2bdfd292889e7468feffb3198985ede434 /scripts/patch-kernel | |
| parent | staging: unisys: Move vbushelper.h to visorbus directory (diff) | |
staging: unisys: visorinput: ensure proper locking wrt creation & ints
Ensure we properly lock between visorinput_channel_interrupt(),
visorinput_open(), and devdata_create(). We now guarantee that:
* interrupts will be disabled and remain disabled during device creation,
by setting 'paused = true' across device creation
* we canNOT get into visorinput_open() until the device structure is
totally initialized, by delaying the input_register_device() until the
end of device initialization
We also now ensure that lock_visor_dev is held across updates of devdata
state, to ensure state consistency.
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
