Proximity sensors indicate high values for closer objects and vice-versa.
This patchset clarifies the ABI and fixes the SX9500 sensor.

We have 5 proximity sensors that got this right (gp2ap020a00f, jsa1212,
vcnl4000, cm36651, ltr501) and 2 that got it wrong (stk3310 and
sx9500).

For SX9500 the fix was trivial and it is included here, for stk3310 there
are more things to do and will try to fix in the near future.

Daniel Baluta (2):
  iio: ABI: Clarify proximity output value
  iio: proximity: sx9500: Fix proximity value

 Documentation/ABI/testing/sysfs-bus-iio | 6 ++----
 drivers/iio/proximity/sx9500.c          | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to