diff options
| author | Nikhil Gautam <nikhilgtr@gmail.com> | 2026-10-12 17:15:53 +0530 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-11-02 00:38:14 +0000 |
| commit | 0cb3fc8987038a26ac0f581bfa26b16daf6ca6a7 (patch) | |
| tree | c6f6870861344a7cd6355a2d1e42544161acec81 /tools/perf/scripts/python | |
| parent | 6bcabc30b89f31e2925647d1ffa5a0e4b7919829 (diff) | |
iio: atlas-ezo: Fix humidity channel read support
The atlas_ezo_read_raw() function rejects channels that are not of
type IIO_CONCENTRATION, preventing the relative humidity channel
from reading raw and scale values.
Remove the early channel type check to allow both concentration
and relative humidity channels to reach the mask-specific handling.
Fixes: dc3ebfcaa51f ("iio: chemical: atlas-ezo-sensor: add humidity sensor support")
Signed-off-by: Nikhil Gautam <nikhilgtr@gmail.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Reviewed-by: Matt Ranostay <matt@ranostay.sg>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
