linux_dsm_epyc7002/drivers/iio/common/hid-sensors
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-sensor-attributes.c hid: iio: rename struct hid_sensor_iio_common to hid_sensor_common 2013-01-06 11:48:11 +00:00
hid-sensor-trigger.c iio: hid-sensor-hub: Remove hard coded indexes 2014-02-17 15:09:47 +01:00
hid-sensor-trigger.h iio: hid_Sensors: fix crash during trigger unregister 2013-11-02 19:07:06 +00:00
Kconfig iio: hid-sensors: Fix power and report state 2013-12-02 21:05:32 +00:00
Makefile iio: hid-sensors: respect CONFIG_IIO_TRIGGER 2012-12-27 10:59:50 +00:00