linux/drivers/iio/accel
Daniel Baluta 25afffe16d io: accel: kxcjk-1013: Fix iio_event_spec direction
Because IIO_EV_DIR_* are not bitmasks but enums,
IIO_EV_DIR_RISING | IIO_EV_DIR_FALLING is not equal
with IIO_EV_DIR_EITHER.

This could lead to potential misformatted sysfs attributes
like:
	* in_accel_x_thresh_(null)_en
	* in_accel_x_thresh_(null)_period
	* in_accel_x_thresh_(null)_value

or even memory corruption.

Fixes: b4b491c083 (iio: accel: kxcjk-1013: Support threshold)
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-11-05 18:33:46 +00:00
..
bma180.c staging: iio: fix up merge error 2014-09-22 07:54:10 -07:00
bmc150-accel.c iio: accel: BMC150: add support for other Bosch chips 2014-09-13 21:35:46 +01:00
hid-sensor-accel-3d.c iio: remove .owner field for driver using module_platform_driver 2014-08-26 21:08:38 +01:00
Kconfig iio:bma180: Add BMA250 chip support 2014-09-14 20:52:25 +01:00
kxcjk-1013.c io: accel: kxcjk-1013: Fix iio_event_spec direction 2014-11-05 18:33:46 +00:00
kxsd9.c
Makefile iio: accel: BMC150 accel support 2014-08-07 11:43:49 +01:00
mma8452.c Staging driver patches for 3.17-rc1 2014-08-04 18:36:12 -07:00
st_accel_buffer.c
st_accel_core.c
st_accel_i2c.c
st_accel_spi.c
st_accel.h