commit | 3909fab5a8afdf8f0c9191e3a2660230ef0ef724 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Fri Oct 04 12:07:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Oct 12 13:06:31 2013 +0100 |
tree | 9ed0d4b5d28572ad1178eaa15d7528286883cc28 | |
parent | ec87197fb8518ce3f95a96d66355d01d83376617 [diff] |
iio:buffer: Ignore noop requests for iio_update_buffers() Since the kernel now disables all buffers when a device is unregistered it might happen that a in-kernel consumer tries to disable that buffer again. So ignore requests where the buffer already is in the desired state. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>