summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2014-01-23 18:50:22 -0800
committerJiri Kosina <jkosina@suse.cz>2014-02-17 15:09:47 +0100
commit1a214ae5d1a66ead18c5e8c3a8d03b969b0ee647 (patch)
tree7839c6acba3c7f1e2f86c2a88e2d167f1d234c56 /init
parente02cee4819ae51f26333471c8eed50678b08572a (diff)
downloadop-kernel-dev-1a214ae5d1a66ead18c5e8c3a8d03b969b0ee647.zip
op-kernel-dev-1a214ae5d1a66ead18c5e8c3a8d03b969b0ee647.tar.gz
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud