diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2026-08-10 10:53:35 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-31 00:52:41 +0100 |
| commit | 4e5b0b7c5d95814b6d76911a91572a0691925ca7 (patch) | |
| tree | 4dfe1b947fe3b168cb4f13b3faed96bbd0843940 /tools/lib/python/kdoc/python_version.py | |
| parent | b0e951ffc5a28141a106562997ca136ec6a0e1a3 (diff) | |
| download | linux-next-4e5b0b7c5d95814b6d76911a91572a0691925ca7.tar.gz linux-next-4e5b0b7c5d95814b6d76911a91572a0691925ca7.zip | |
iio: light: rohm-bu27034: Fix error return
When BU27034 fails to read gain value at integration-time setting, it
returns 0. This leaves caller unaware of the fact that setting the
integration time failed.
Fix this by returning the relevant error instead of zero.
Fixes: 439c2cef8157 ("iio: bu27034: simplify using guard(mutex)")
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
