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