linux_dsm_epyc7002/drivers/iio/common/st_sensors
Lorenzo Bianconi c65e3d6ef4 iio: magnetometer: st_magn: fix drdy line configuration for LIS3MDL
Data-ready line in LIS3MDL is routed to drdy pin and it is not possible
to select a different INT pin. st_sensors_set_dataready_irq() assumes
that if drdy int address is not exported in register map, irq trigger
is not supported by the sensor and hw_irq_trigger is always false.
Based on this configuration st_sensors_irq_thread does not consume
generated interrupt causing an unhandled irq.
Fix this taking into account status register address in
st_sensors_set_dataready_irq()

Fixes: 90efe05562 (iio: st_sensors: harden interrupt handling)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-09-03 17:39:39 +01:00
..
Kconfig
Makefile
st_sensors_buffer.c iio: common: st_sensors: fix channel data parsing 2016-12-31 14:32:09 +00:00
st_sensors_core.c iio: magnetometer: st_magn: fix drdy line configuration for LIS3MDL 2017-09-03 17:39:39 +01:00
st_sensors_core.h iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
st_sensors_i2c.c iio: common: st_sensors: move st_sensors_of_i2c_probe() in common code 2017-07-01 10:16:56 +01:00
st_sensors_spi.c iio: common: remove unnecessary sizeof(u8) 2014-12-12 12:28:25 +00:00
st_sensors_trigger.c fix:iio:common:st_sensors:st_sensors_trigger:mark symbols static where possible 2016-08-29 20:13:12 +01:00