diff options
| author | Lars-Peter Clausen <[email protected]> | 2013-10-15 08:38:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2013-10-15 18:26:43 +0000 |
| commit | e086ed76671252d5b539854a83f8506be7bea05c (patch) | |
| tree | 2ecb9bc3ef5b236cde08845b168f40d8c5075869 /lib/spinlock_debug.c | |
| parent | iio: frequency: adf4350: add missing clk_disable_unprepare() on error in adf4... (diff) | |
| download | kernel-e086ed76671252d5b539854a83f8506be7bea05c.tar.gz kernel-e086ed76671252d5b539854a83f8506be7bea05c.zip | |
iio:buffer: Free active scan mask in iio_disable_all_buffers()
Usually the active scan mask is freed in __iio_update_buffers() when the buffer
is disabled. But when the device is still sampling when it is removed we'll end
up disabling the buffers in iio_disable_all_buffers(). So we also need to free
the active scan mask here, otherwise it will be leaked.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
