Skip to content

Improve cs42l43 suspend/IRQ interactions

Charles Keepax linux-sound lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6ASoC: cs42l43: Rename system suspend callback and fix debug printsound/soc/codecs/cs42l43.c+3 -30 replies
2/6ASoC: cs42l43: Store IRQ domain in codec private datasound/soc/codecs/cs42l43.c sound/soc/codecs/cs42l43.h+14 -160 replies
3/6ASoC: cs42l43: Disable IRQs in system suspendsound/soc/codecs/cs42l43.c sound/soc/codecs/cs42l43.h+64 -150 replies
4/6ASoC: cs42l43: Shutdown jack detection on suspendsound/soc/codecs/cs42l43-jack.c sound/soc/codecs/cs42l43.c sound/soc/codecs/cs42l43.h+8 -30 replies
5/6mfd: cs42l43: Move IRQ enable/disable to encompass force suspenddrivers/mfd/cs42l43.c+4 -40 replies
6/6mfd: cs42l43: Remove IRQ masking in suspenddrivers/mfd/cs42l43.c+0 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Improve cs42l43 suspend/IRQ interactions

cs42l43 uses pm_runtime_force_suspend() during system suspend, however this means care must be taken that IRQ handler code isn't running when entering system suspend as force suspend will ignore that the handler is holding a pm reference. Typically the result of this is just a few error messages, but better to improve the handling and ensure that all IRQ processing is synchronised in before system suspend.

Note the ASoC and MFD bits of this series have no build dependencies, so could go through their seperate trees, however, it would be nice if all the patches could land in the same kernel version to avoid the IRQ handling being in a transitional state.

Thanks,
Charles

Charles Keepax (6):
ASoC: cs42l43: Rename system suspend callback and fix debug print
ASoC: cs42l43: Store IRQ domain in codec private data
ASoC: cs42l43: Disable IRQs in system suspend
ASoC: cs42l43: Shutdown jack detection on suspend
mfd: cs42l43: Move IRQ enable/disable to encompass force suspend
mfd: cs42l43: Remove IRQ masking in suspend

 drivers/mfd/cs42l43.c           |  32 +---------
 sound/soc/codecs/cs42l43-jack.c |   8 ++-
 sound/soc/codecs/cs42l43.c      | 109 +++++++++++++++++++++++---------
 sound/soc/codecs/cs42l43.h      |   3 +
 4 files changed, 89 insertions(+), 63 deletions(-)
Signature · 1 line
2.47.2