mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
c65e3d6ef4
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:
|
||
---|---|---|
.. | ||
ak8974.c | ||
ak8975.c | ||
bmc150_magn_i2c.c | ||
bmc150_magn_spi.c | ||
bmc150_magn.c | ||
bmc150_magn.h | ||
hid-sensor-magn-3d.c | ||
hmc5843_core.c | ||
hmc5843_i2c.c | ||
hmc5843_spi.c | ||
hmc5843.h | ||
Kconfig | ||
mag3110.c | ||
Makefile | ||
mmc35240.c | ||
st_magn_buffer.c | ||
st_magn_core.c | ||
st_magn_i2c.c | ||
st_magn_spi.c | ||
st_magn.h |