diff options
| author | Ethan Tidmore <ethantidmore06@gmail.com> | 2026-02-23 06:40:15 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-24 00:15:54 +0300 |
| commit | 550f5c010465b6bf735264cd11d27e1f258508b1 (patch) | |
| tree | 2c99a7a26b023220676be67f653956bd39be5047 /include | |
| parent | f6d460ec01556d8c5871a0abbb5baa31f8b0d630 (diff) | |
| download | linux-550f5c010465b6bf735264cd11d27e1f258508b1.tar.xz | |
iio: light: gp2ap020a00f: Fix possible error swallow
Move error check into for loop in gp2ap020a00f_buffer_postenable() and
gp2ap020a00f_buffer_predisable(), this fixes a possible error swallow.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
