iio: fix bug with triggers not resuming after sleep
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v22 patches 3 repliesSuperseded
- v12 patches 1 replySuperseded
Changelog from the cover letter
- V2: patch 2:
+ Simplify code
+ Remove unneeded code protections around SET_RUNTIME_PM_OPS()
+ pm_ptr() to let the compiler drop bmi323_core_pm_ops if !CONFIG_PM
- V3: patch 1:
+ Add pf->irq=0 that was accidentally left out
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: trigger: allow devices to suspend/resume theirs associated triggerdrivers/ include/ | +44 | 0 replies | |
| 2/2 | iio: bmi323: suspend and resume triggering on relevant pm operationsdrivers/ drivers/ drivers/ +1 more | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] iio: fix bug with triggers not resuming after sleep
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.
Changelog:
- V2: patch 2:
+ Simplify code
+ Remove unneeded code protections around SET_RUNTIME_PM_OPS()
+ pm_ptr() to let the compiler drop bmi323_core_pm_ops if !CONFIG_PM
- V3: patch 1:
+ Add pf->irq=0 that was accidentally left out
Previous patches obsoleted:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/
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 | 23 +++++++++++++++++++++++ drivers/iio/imu/bmi323/bmi323_i2c.c | 1 + drivers/iio/imu/bmi323/bmi323_spi.c | 1 + drivers/iio/industrialio-trigger.c | 27 +++++++++++++++++++++++++++ include/linux/iio/iio.h | 17 +++++++++++++++++ 6 files changed, 70 insertions(+)
Signature · 1 line
2.46.0