All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: fix bug with triggers not resuming after sleep
@ 2024-07-25  0:26 Denis Benato
  2024-07-25  0:26 ` [PATCH 1/2] iio: trigger: allow devices to suspend/resume theirs associated trigger Denis Benato
  2024-07-25  0:26 ` [PATCH 2/2] iio: bmi323: suspend and resume triggering on relevant pm operations Denis Benato
  0 siblings, 2 replies; 4+ messages in thread
From: Denis Benato @ 2024-07-25  0:26 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Lars-Peter Clausen, Jagath Jog J, linux-iio, linux-kernel,
	Denis Benato, Luke D . Jones, Jonathan LoBue

When a device enters an idle state (for example ASUS RC71L with s2idle)
and an iio driver has a trigger attached such as iio-trig-hrtimer,
after resuming the device the trigger is not triggering data acquisition.

This patch series solves the problem reliably and is well tested after
many cycles and many reboots.

Closes: https://lore.kernel.org/all/31d7f7aa-e834-4fd0-a66a-e0ff528425dc@gmail.com/

Denis Benato (2):
  iio: trigger: allow devices to suspend/resume theirs associated
    trigger
  iio: bmi323: suspend and resume triggering on relevant pm operations

 drivers/iio/imu/bmi323/bmi323.h      |  1 +
 drivers/iio/imu/bmi323/bmi323_core.c | 32 ++++++++++++++++++++++++++++
 drivers/iio/imu/bmi323/bmi323_i2c.c  |  1 +
 drivers/iio/imu/bmi323/bmi323_spi.c  |  1 +
 drivers/iio/industrialio-trigger.c   | 24 +++++++++++++++++++++
 include/linux/iio/iio.h              | 16 ++++++++++++++
 6 files changed, 75 insertions(+)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-25 11:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25  0:26 [PATCH 0/2] iio: fix bug with triggers not resuming after sleep Denis Benato
2024-07-25  0:26 ` [PATCH 1/2] iio: trigger: allow devices to suspend/resume theirs associated trigger Denis Benato
2024-07-25  0:26 ` [PATCH 2/2] iio: bmi323: suspend and resume triggering on relevant pm operations Denis Benato
2024-07-25 11:28   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.