diff options
| author | Nuno Sá <nuno.sa@analog.com> | 2026-02-16 13:24:27 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-23 08:24:39 +0000 |
| commit | 064234044056c93a3719d6893e6e5a26a94a61b6 (patch) | |
| tree | 1ad5680aaca04f8a05da26fd4c2846ca62dd546d /scripts/rt-tester/git@git.tavy.me:linux.git | |
| parent | acc3949aab3e8094641a9c7c2768de1958c88378 (diff) | |
iio: buffer: Fix wait_queue not being removed
In the edge case where the IIO device is unregistered while we're
buffering, we were directly returning an error without removing the wait
queue. Instead, set 'ret' and break out of the loop.
Fixes: 9eeee3b0bf19 ("iio: Add output buffer support")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/rt-tester/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
