Enable by default Latched interrupts and clear_on_read (when available) for sensor events. @Sean: could you please rebase your series on top of this one in order to double check if it fixes the reported issue between buffered reading and wakeup events? Lorenzo Bianconi (2): iio: imu: st_lsm6dsx: enable LIR for sensor events iio: imu: st_lsm6dsx: enable clear on read for latched interrupts drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 4 ++ drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 59 ++++++++++++++++++++ 2 files changed, 63 insertions(+) -- 2.21.0