public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: cs42l43: Add codec force suspend/resume ops
@ 2025-01-09  9:38 Maciej Strozek
  2025-01-09 10:09 ` Charles Keepax
  2025-01-09 13:18 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Maciej Strozek @ 2025-01-09  9:38 UTC (permalink / raw)
  To: Mark Brown
  Cc: Liam Girdwood, linux-sound, patches, linux-kernel, Maciej Strozek

This ensures codec will resume after suspending during playback.

Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
---
 sound/soc/codecs/cs42l43.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/cs42l43.c b/sound/soc/codecs/cs42l43.c
index bee032c3ebbe..d2a2daefc2ec 100644
--- a/sound/soc/codecs/cs42l43.c
+++ b/sound/soc/codecs/cs42l43.c
@@ -2404,6 +2404,7 @@ static int cs42l43_codec_runtime_resume(struct device *dev)

 static const struct dev_pm_ops cs42l43_codec_pm_ops = {
 	RUNTIME_PM_OPS(NULL, cs42l43_codec_runtime_resume, NULL)
+	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
 };

 static const struct platform_device_id cs42l43_codec_id_table[] = {
--
2.39.5


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

* Re: [PATCH] ASoC: cs42l43: Add codec force suspend/resume ops
  2025-01-09  9:38 [PATCH] ASoC: cs42l43: Add codec force suspend/resume ops Maciej Strozek
@ 2025-01-09 10:09 ` Charles Keepax
  2025-01-09 13:18 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Charles Keepax @ 2025-01-09 10:09 UTC (permalink / raw)
  To: Maciej Strozek
  Cc: Mark Brown, Liam Girdwood, linux-sound, patches, linux-kernel

On Thu, Jan 09, 2025 at 09:38:22AM +0000, Maciej Strozek wrote:
> This ensures codec will resume after suspending during playback.
> 
> Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
> ---

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles

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

* Re: [PATCH] ASoC: cs42l43: Add codec force suspend/resume ops
  2025-01-09  9:38 [PATCH] ASoC: cs42l43: Add codec force suspend/resume ops Maciej Strozek
  2025-01-09 10:09 ` Charles Keepax
@ 2025-01-09 13:18 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2025-01-09 13:18 UTC (permalink / raw)
  To: Maciej Strozek; +Cc: Liam Girdwood, linux-sound, patches, linux-kernel

On Thu, 09 Jan 2025 09:38:22 +0000, Maciej Strozek wrote:
> This ensures codec will resume after suspending during playback.
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: cs42l43: Add codec force suspend/resume ops
      commit: 8f0defd2e52d22eb994d7e770b1261caa24917d8

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] 3+ messages in thread

end of thread, other threads:[~2025-01-09 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09  9:38 [PATCH] ASoC: cs42l43: Add codec force suspend/resume ops Maciej Strozek
2025-01-09 10:09 ` Charles Keepax
2025-01-09 13:18 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox