Commit 0a3b517
iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips
Interrupt status read seems to be broken on some old MPU-6050 like
chips. Fix by reverting to previous driver behavior bypassing interrupt
status read. This is working because these chips are not supporting
WoM and data ready is the only interrupt source.
Fixes: 5537f65 ("iio: imu: inv_mpu6050: add new interrupt handler for WoM events")
Cc: [email protected]
Signed-off-by: Jean-Baptiste Maneyrol <[email protected]>
Tested-by: Svyatoslav Ryhel <[email protected]> # LG P895
Tested-by: Andreas Westman Dorcsak <[email protected]> # LG P880
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>1 parent f242967 commit 0a3b517
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
251 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
252 | 262 | | |
253 | 263 | | |
254 | 264 | | |
255 | | - | |
256 | | - | |
257 | 265 | | |
258 | 266 | | |
259 | 267 | | |
| |||
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| 290 | + | |
282 | 291 | | |
283 | 292 | | |
284 | 293 | | |
| |||
0 commit comments