aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2024-02-05 10:59:23 -0800
committerJonathan Cameron <[email protected]>2024-02-17 16:16:11 +0000
commitf2a71ebdf2312a07824fb8445267e62bc0074e56 (patch)
treea350d794c4b80c460eea3d9195f0eb284a1e202f /tools/perf/scripts/python/netdev-times.py
parentca2f16c315683d9922445b59a738f6e4c168d54d (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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions