summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-05-13 16:04:46 +0200
committerJonathan Cameron <jic23@kernel.org>2015-05-17 10:01:45 +0100
commitfcc1b2f57d89142acf6173a8e6ffb19f5f5ec876 (patch)
tree3f9eee25a554fa6447b9c10f57eda656853ebab9 /crypto
parent248be5aafc7cfe860b8f310bfc3f433e51f9fb11 (diff)
iio: __iio_update_buffers: Perform request_update() only for new buffers
We only have to call the request_update() callback for a newly inserted buffer. The configuration of the already previously active buffers will not have changed. This also allows us to move the request_update() call to the beginning of __iio_update_buffers(), before any currently active buffers are stopped. This makes the error handling a lot easier since no changes were made to the buffer list and no rollback needs to be performed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions