Merge tag 'iio-fixes-for-3.13b' of...
Merge tag 'iio-fixes-for-3.13b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus Jonathan writes: Second round of IIO fixes for the 3.13 cycle. 2 fixes here. * The gp2ap020a00f is a simple missing kconfig dependency. * The hid sensors hub fix is a work around for an issue introduced by hardware changes due to a certain large software vendor having an 'interesting' interpretation of the specification and hence indexing some arrays from 1 rather than 0. The fix takes advantage of the logical min and max reading facilities introduced by the precursor patch to figure out whether we have a 0 indexed or 1 indexed device and to adjust appropriately. It also drops a previous kconfig option that allowed this issue to be worked around at build time.
Showing
- drivers/hid/hid-sensor-hub.c 8 additions, 12 deletionsdrivers/hid/hid-sensor-hub.c
- drivers/iio/common/hid-sensors/Kconfig 0 additions, 9 deletionsdrivers/iio/common/hid-sensors/Kconfig
- drivers/iio/common/hid-sensors/hid-sensor-trigger.c 15 additions, 5 deletionsdrivers/iio/common/hid-sensors/hid-sensor-trigger.c
- drivers/iio/light/Kconfig 1 addition, 0 deletionsdrivers/iio/light/Kconfig
- include/linux/hid-sensor-hub.h 2 additions, 0 deletionsinclude/linux/hid-sensor-hub.h
- include/linux/hid-sensor-ids.h 12 additions, 0 deletionsinclude/linux/hid-sensor-ids.h
Loading
Please register or sign in to comment