OpenCloudOS-Kernel/drivers/iio/accel
Martin Kepplinger c5d0db0690 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>
2015-07-19 14:32:18 +01:00
..
Kconfig iio: accel: Add support for Sensortek STK8BA50 2015-05-23 12:57:11 +01:00
Makefile iio: accel: Add support for Sensortek STK8BA50 2015-05-23 12:57:11 +01:00
bma180.c iio: fix drivers that check buffer->scan_mask 2015-03-07 19:17:07 +00:00
bmc150-accel.c iio:accel:bmc150-accel: fix counting direction 2015-07-19 11:48:09 +01:00
hid-sensor-accel-3d.c iio: accel: hid-sensor-accel-3d: Fix memory leak in probe() 2015-05-17 09:09:05 +01:00
kxcjk-1013.c iio: accel: kxcjk-1013: add some blank lines for readability 2015-05-07 10:42:31 +01:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
mma8452.c iio: mma8452: use iio event type IIO_EV_TYPE_MAG 2015-07-19 14:32:18 +01:00
mma9551.c iio: accel: mma9551: Check gpiod_to_irq return value 2015-03-09 13:27:49 +00:00
mma9551_core.c Merge 4.1-rc4 into staging-next 2015-05-18 13:52:44 -07:00
mma9551_core.h iio: accel: mma9551_core: typo fix in RSC APP ID 2015-04-26 19:46:17 +01:00
mma9553.c Merge 4.1-rc4 into staging-next 2015-05-18 13:52:44 -07:00
ssp_accel_sensor.c iio: common: ssp_sensors: Add sensorhub accelerometer sensor 2015-01-29 18:49:56 +00:00
st_accel.h iio: st_accel: support the LIS331DL sensor 2015-06-08 22:21:18 +01:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c Third round of new IIO drivers, cleanups and functionality for the 4.2 cycle. 2015-06-10 20:48:34 -07:00
st_accel_i2c.c iio: st_accel: support the LIS331DL sensor 2015-06-08 22:21:18 +01:00
st_accel_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
stk8ba50.c iio: accel: Add support for Sensortek STK8BA50 2015-05-23 12:57:11 +01:00
stk8312.c iio: accel: Add support for Sensortek STK8312 2015-05-17 11:03:31 +01:00