alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ASoC: cs35l56: Add system suspend handling
@ 2023-04-11 15:25 Richard Fitzgerald via Alsa-devel
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Fitzgerald via Alsa-devel @ 2023-04-11 15:25 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, linux-kernel, patches, Richard Fitzgerald


[-- Attachment #0: Type: message/rfc822, Size: 5415 bytes --]

From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com, Richard Fitzgerald <rf@opensource.cirrus.com>
Subject: [PATCH 0/6] ASoC: cs35l56: Add system suspend handling
Date: Tue, 11 Apr 2023 16:25:22 +0100
Message-ID: <20230411152528.329803-1-rf@opensource.cirrus.com>

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(-)

-- 
2.30.2


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

* Re: [PATCH 0/6] ASoC: cs35l56: Add system suspend handling
       [not found] <20230411152528.329803-1-rf@opensource.cirrus.com>
@ 2023-04-12 19:00 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2023-04-12 19:00 UTC (permalink / raw)
  To: Richard Fitzgerald; +Cc: alsa-devel, linux-kernel, patches

On Tue, 11 Apr 2023 16:25:22 +0100, Richard Fitzgerald wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/6] ASoC: cs35l56: Remove quick-cancelling of dsp_work()
      commit: 39a594dc0b4ac949edf221db33c7061c45e2c90b
[2/6] ASoC: cs35l56: Use DAPM widget for firmware PLAY/PAUSE
      commit: 7b98a1efbabfd729441f46823b24432f2c32deeb
[3/6] ASoC: cs35l56: Skip first init_completion wait in dsp_work if init_done
      commit: 7816e3407110d887726687740aa18c9ce8eeb0d2
[4/6] ASoC: cs35l56: Always wait for firmware boot in runtime-resume
      commit: f00abaddf0300bd9ca87918148a26bdb748129db
[5/6] ASoC: cs35l56: Add basic system suspend handling
      commit: f9dc6b875ec0a6a6d4091cd9603d193ec98c75a2
[6/6] ASoC: cs35l56: Re-patch firmware after system suspend
      commit: 59322d35179987e85b593e504fd334de8683c835

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2023-04-12 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 15:25 [PATCH 0/6] ASoC: cs35l56: Add system suspend handling Richard Fitzgerald via Alsa-devel
     [not found] <20230411152528.329803-1-rf@opensource.cirrus.com>
2023-04-12 19:00 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).