diff options
author | Nuno Sa <nuno.sa@analog.com> | 2021-04-27 10:54:51 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-17 13:49:09 +0100 |
commit | 669da56a7eafb9b4025261a07f1d27364159cac9 (patch) | |
tree | 2228fdbf0a49bfb4acb17a86b3bf821382a7c6bb /sound | |
parent | 0ae157081ca33d4ec5a997b67b8942bd149305b6 (diff) |
iio: adis_buffer: don't push data to buffers on failure
There's no point in pushing data to IIO buffers in case 'spi_sync()'
fails.
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210427085454.30616-4-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions