diff options
| author | Srinivas Pandruvada <[email protected]> | 2024-02-05 10:59:23 -0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-02-17 16:16:11 +0000 |
| commit | f2a71ebdf2312a07824fb8445267e62bc0074e56 (patch) | |
| tree | a350d794c4b80c460eea3d9195f0eb284a1e202f /tools/perf/scripts/python/syscall-counts.py | |
| parent | ca2f16c315683d9922445b59a738f6e4c168d54d (diff) | |
iio: hid-sensor-als: Assign channels dynamically
Instead of assuming that every channel defined statically by
als_channels[] is present, assign dynamically based on presence of the
respective usage id in the descriptor. This will allow to register ALS
with limited channel support. Append the timestamp as the last channel.
Update available_scan_mask to specify all channels which are present.
There is no intentional function changes done.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions