diff options
author | Martin Kepplinger <[email protected]> | 2015-07-05 19:50:18 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2015-07-19 14:32:18 +0100 |
commit | c5d0db0690ff0a963dc082e7645268c466bf9a84 (patch) | |
tree | 4cc357ceac84c391071e95eff8af5bc351f133da /tools/perf/util/trace-event-scripting.c | |
parent | 41be6a0d5aa3c4fcb472f3d44251683b085b00a3 (diff) |
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 <[email protected]>
Signed-off-by: Christoph Muellner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions