mbox series

[0/2] enable LIR and clear_on_read for st_lsm6dsx

Message ID cover.1568184231.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series enable LIR and clear_on_read for st_lsm6dsx | expand

Message

Lorenzo Bianconi Sept. 11, 2019, 6:50 a.m. UTC
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(+)