Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: hid-sensors-prox: Make proximity channel indexed

We are going to introduce more proximity channels. Make proximity a
indexed channel now, in a simple patch, so the change can be easily
bisected if there are any issues.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://patch.msgid.link/20241101-hpd-v3-4-e9c80b7c7164@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Ricardo Ribalda and committed by
Jonathan Cameron
f7a1fc1a 9d2fe9cd

+1
+1
drivers/iio/light/hid-sensor-prox.c
··· 40 40 BIT(IIO_CHAN_INFO_SAMP_FREQ) | 41 41 BIT(IIO_CHAN_INFO_HYSTERESIS), 42 42 .scan_index = CHANNEL_SCAN_INDEX_PRESENCE, 43 + .indexed = true, 43 44 } 44 45 }; 45 46