]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: imu: inv-mpu9150: fix irq ack preventing irq storms
authorAndreas Kemnade <andreas@kemnade.info>
Wed, 31 Dec 2025 21:14:16 +0000 (22:14 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 23 Feb 2026 08:24:37 +0000 (08:24 +0000)
commitd23d763e00ace4e9c59f8d33e0713d401133ba88
treee2e0850f48c68bc396badaff14e12e40c69a1f16
parent6c8bf4b604a8a6346ca71f1c027fa01c2c2e04cb
iio: imu: inv-mpu9150: fix irq ack preventing irq storms

IRQ needs to be acked. for some odd reasons, reading from irq status does
not reliable help, enable acking from any register to be on the safe side
and read the irq status register. Comments in the code indicate a known
unreliability with that register.
The blamed commit was tested with mpu6050 in lg,p895 and lg,p880 according
to Tested-bys. But with the MPU9150 in the Epson Moverio BT-200 this leads
to irq storms without properly acking the irq.

Fixes: 0a3b517c8089 ("iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h
drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c