[PATCH 0/2] Clarify proximity output value interpretation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux