WSL2-Linux-Kernel/drivers/iio/common
Srinivas Pandruvada 1a214ae5d1 iio: hid-sensor-hub: Remove hard coded indexes
Remove the hard coded indexes, instead search for usage id and
use the index to set the power and report state.
This will fix issue, where the report descriptor doesn't contain
the full list of possible selector for power and report state.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2014-02-17 15:09:47 +01:00
..
hid-sensors iio: hid-sensor-hub: Remove hard coded indexes 2014-02-17 15:09:47 +01:00
st_sensors iio: sensors-core: st: Clean-up error handling in st_sensors_read_axis_data() 2013-09-21 19:24:04 +01:00
Kconfig iio:common: Add STMicroelectronics common library 2013-01-31 17:56:43 +00:00
Makefile iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00