diff options
author | Lars-Peter Clausen | 2015-05-18 13:34:47 +0200 |
---|---|---|
committer | Jonathan Cameron | 2015-05-23 12:44:30 +0100 |
commit | 6e509c4d91632b6f8f05f0bee3a20fd50ca2263b (patch) | |
tree | e7d0782f821001504446b4386b65b4c506a5c295 /scripts/coccinelle/null | |
parent | 2a67dfba7fae36af0233452d19b40594f62bc019 (diff) |
iio: __iio_update_buffers: Verify configuration before starting to apply it
Currently __iio_update_buffers() verifies whether the new configuration
will work in the middle of the update sequence. This means if the new
configuration is invalid we need to rollback the changes already made. This
patch moves the validation of the new configuration at the beginning of
__iio_update_buffers() and will not start to make any changes if the new
configuration is invalid.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/coccinelle/null')
0 files changed, 0 insertions, 0 deletions