summaryrefslogtreecommitdiff
path: root/tools/iio
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2023-09-19 11:10:46 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-24 15:22:52 +0300
commit286d528bf0fae9f334fba857825b9701df1675b2 (patch)
tree262f76add6d2428514ede72b93370ff1c873d3ad /tools/iio
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-286d528bf0fae9f334fba857825b9701df1675b2.tar.xz
iio: hid-sensor-als: Use channel index to support more hub attributes
Sensor hub attributes can be extended to support more channels. Repeat the reading for the two existing channels and store them separately. It still operates in the same manner as before where there was just one entry. So in order to support more sensor hub attributes for ALS use channel index to get specific sensor hub attributes. Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Acked-by: Srinivas Pandruvada<srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20230919081054.2050714-2-Basavaraj.Natikar@amd.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions