aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2024-02-05 10:59:23 -0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-17 16:16:11 +0000
commitf2a71ebdf2312a07824fb8445267e62bc0074e56 (patch)
treea350d794c4b80c460eea3d9195f0eb284a1e202f /tools/perf/scripts/python/exported-sql-viewer.py
parentAdd 10EC5280 to bmi160_i2c ACPI IDs to allow binding on some devices (diff)
downloadlinux-f2a71ebdf2312a07824fb8445267e62bc0074e56.tar.gz
linux-f2a71ebdf2312a07824fb8445267e62bc0074e56.zip
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 <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20240205185926.3030521-2-srinivas.pandruvada@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions