summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>2017-08-29 13:45:11 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-03 17:39:39 +0100
commitc65e3d6ef4bfdc4c8460509f08507cf7dc026974 (patch)
treedc3f17d3e73e265983a2a31d8f138d90852de95d /sound
parent3af75db12e3d3537bc01c06bbdc876cb17e82b35 (diff)
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: 90efe0556292 (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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions