]> git.baikalelectronics.ru Git - kernel.git/commit
iio: ABI: Clarify proximity output value
authorDaniel Baluta <daniel.baluta@intel.com>
Thu, 11 Jun 2015 15:49:33 +0000 (18:49 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 10:48:02 +0000 (11:48 +0100)
commit8d70f1a37889dcc847cf0d3343a46b7956f51da2
tree11e6df57ecd17cba7673b11bb026f29a30b005c3
parente46430307fbf8c062fcf059a43bc0a6de57ef782
iio: ABI: Clarify proximity output value

Current description for proximity measurement is ambiguous. While
the first part says that proximity is measured by observing
reflectivity, the second part incorrectly infers that reported values
should behave like a distance.

This is because of AS3935 lightning sensor which uses the proximity
API, while not being a true proximity sensor.

Note this is marked for stable as it accompanies a fix in ABI usage
to the sx9500 driver which would otherwise appear to be correct.

Fixes: e1eb3dbdc49 ("iio: ABI: add clarification for proximity")
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio