summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2024-02-05 21:59:23 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-17 19:16:11 +0300
commitf2a71ebdf2312a07824fb8445267e62bc0074e56 (patch)
treea350d794c4b80c460eea3d9195f0eb284a1e202f /tools/perf/scripts/python/export-to-sqlite.py
parentca2f16c315683d9922445b59a738f6e4c168d54d (diff)
downloadlinux-f2a71ebdf2312a07824fb8445267e62bc0074e56.tar.xz
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions