summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-07-28 00:39:03 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-12 22:13:06 +0100
commit3ac065224fa07ec7e60213d67464388ac8a52222 (patch)
tree1c340c67cc002a66795ca8d01bf99af2c5c1b95f /include
parent4b308e8c396dc9af3e1a97f75d15c055e09a17b2 (diff)
iio:adc:berlin2-adc: enable interrupts with mutex locked
Move the call to enable channel interrupts into its _read() function to have it protected by a mutex. This ensures that only one channel is sampled at a time. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions