diff options
author | Martin Kepplinger <martink@posteo.de> | 2015-07-05 20:50:18 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-19 16:32:18 +0300 |
commit | c5d0db0690ff0a963dc082e7645268c466bf9a84 (patch) | |
tree | 4cc357ceac84c391071e95eff8af5bc351f133da /lib/irq_regs.c | |
parent | 41be6a0d5aa3c4fcb472f3d44251683b085b00a3 (diff) | |
download | linux-c5d0db0690ff0a963dc082e7645268c466bf9a84.tar.xz |
iio: mma8452: use iio event type IIO_EV_TYPE_MAG
IIO_EV_TYPE_THRESH in rising direction describes an event where the
threshold is crossed in rising direction, positive or negative values
being possible. This is not the case here.
Since the threshold is no signed value and only the magnitude is compared,
IIO_EV_TYPE_MAG is what describes the behaviour of these devices, see the
sysfs-bus-iio ABI Documentation.
Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/irq_regs.c')
0 files changed, 0 insertions, 0 deletions