diff options
| author | Alexander Sarmanow <as@discnull.de> | 2026-10-12 16:43:15 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-11-02 00:38:10 +0000 |
| commit | 6bcabc30b89f31e2925647d1ffa5a0e4b7919829 (patch) | |
| tree | f66cb88289746012bc1413ab5abca6a68f29eaf2 /tools/perf/scripts/python | |
| parent | 043ececf147863fbd253687aa0b9edcac358a711 (diff) | |
iio: light: vcnl4035: Fix reversed ALS mode bit
According to the datasheet (table 2) the ALS_SD bit behaves the opposite
way the current ALS mode defines are set, writing 0 powers the sensor
and writing 1 shuts it down.
The current driver thinks the ALS is up while it's actually shut down
and it's down when the systems powers it up.
Fixes: 55707294c4eb ("iio: light: Add support for vishay vcnl4035")
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Sarmanow <as@discnull.de>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
