diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-12-09 15:30:59 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 10:02:13 -0800 |
| commit | 4edac4a4da158869bb41392939f3933bf8f8d46d (patch) | |
| tree | e24ed79febfd2e24602123b78c430f80e662397b /tools/perf/scripts/python | |
| parent | 83d55bd03f8a37e3a8ba4d24da2a274231a485e5 (diff) | |
staging: comedi: pcmmio: introduce pcmmio_dio_write()
The paged registers in the asic need to be spinlock protected to
ensure that the page is not changed while writing to the registers.
Introduce a helper function to make sure the spinlock is used.
Use the new helper in pcmmio_reset(). This is one of the places where
the spinlock is not used.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
