diff options
| author | Tim Sell <[email protected]> | 2016-06-10 21:48:25 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-15 20:44:26 +0200 |
| commit | 24ce1b66619c499f5913eac5debf9170f7a9dcc3 (patch) | |
| tree | 318a1e2bdfd292889e7468feffb3198985ede434 /tools/perf/scripts/python/netdev-times.py | |
| parent | 64088bd476be1a7abb6167f8fee4f0aa4d87598d (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 <[email protected]>
Signed-off-by: David Kershner <[email protected]>
Acked-By: Neil Horman <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions