25afffe16d
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bma180.c | ||
bmc150-accel.c | ||
hid-sensor-accel-3d.c | ||
kxcjk-1013.c | ||
kxsd9.c | ||
mma8452.c | ||
st_accel.h | ||
st_accel_buffer.c | ||
st_accel_core.c | ||
st_accel_i2c.c | ||
st_accel_spi.c |