Skip to content

ASoC: cs35l56: Add system suspend handling

Richard Fitzgerald alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: cs35l56: Remove quick-cancelling of dsp_work()sound/soc/codecs/cs35l56.c sound/soc/codecs/cs35l56.h+1 -80 replies
2/6ASoC: cs35l56: Use DAPM widget for firmware PLAY/PAUSEsound/soc/codecs/cs35l56.c+55 -500 replies
3/6ASoC: cs35l56: Skip first init_completion wait in dsp_work if init_donesound/soc/codecs/cs35l56.c+2 -10 replies
4/6ASoC: cs35l56: Always wait for firmware boot in runtime-resumesound/soc/codecs/cs35l56.c+13 -150 replies
5/6ASoC: cs35l56: Add basic system suspend handlingsound/soc/codecs/cs35l56-sdw.c sound/soc/codecs/cs35l56.c sound/soc/codecs/cs35l56.h+158 -00 replies
6/6ASoC: cs35l56: Re-patch firmware after system suspendinclude/sound/cs35l56.h sound/soc/codecs/cs35l56-sdw.c sound/soc/codecs/cs35l56.c+81 -20 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] ASoC: cs35l56: Add system suspend handling

This set of patches adds handling for system suspend. Patches 1..4 make some code changes that simplify the suspend implementation, mainly to avoid race conditions.

There are two seperate aspects to suspend, and these have been done as two patches:
- the main suspend-resume handling,
- re-loading the firmware if necessary after resume.

Richard Fitzgerald (6):
ASoC: cs35l56: Remove quick-cancelling of dsp_work()
ASoC: cs35l56: Use DAPM widget for firmware PLAY/PAUSE
ASoC: cs35l56: Skip first init_completion wait in dsp_work if
init_done
ASoC: cs35l56: Always wait for firmware boot in runtime-resume
ASoC: cs35l56: Add basic system suspend handling
ASoC: cs35l56: Re-patch firmware after system suspend

 include/sound/cs35l56.h        |   4 +
 sound/soc/codecs/cs35l56-sdw.c |  36 ++++
 sound/soc/codecs/cs35l56.c     | 335 ++++++++++++++++++++++++++-------
 sound/soc/codecs/cs35l56.h     |   7 +-
 4 files changed, 308 insertions(+), 74 deletions(-)
Signature · 1 line
2.30.2