summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2013-11-27 23:19:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-12-02 22:05:32 +0100
commit751d17e23a9f7c8e0bca5c0b2e8d39af655ecd2a (patch)
treecd586d7db56efdc9d4ef8d5dee1f008a137f354e /drivers/iio/light/Kconfig
parentHID: hid-sensor-hub: Add logical min and max (diff)
downloadlinux-751d17e23a9f7c8e0bca5c0b2e8d39af655ecd2a.tar.xz
linux-751d17e23a9f7c8e0bca5c0b2e8d39af655ecd2a.zip
iio: hid-sensors: Fix power and report state
In the original HID sensor hub firmwares all Named array enums were to 0-based. But the most recent hub implemented as 1-based, because of the implementation by one of the major OS vendor. Using logical minimum for the field as the base of enum. So we add logical minimum to the selector values before setting those fields. Some sensor hub FWs already changed logical minimum from 0 to 1 to reflect this and hope every other vendor will follow. There is no easy way to add a common HID quirk for NAry elements, even if the standard specifies these field as NAry, the collection used to describe selectors is still just "logical". Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
0 files changed, 0 insertions, 0 deletions