Skip to contentSkip to conversation

ASoC: cs42l43: Add codec force suspend/resume ops

PATCH In review Maciej Strozek 3 participants 3 messages Jan 9, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: cs42l43: Add codec force suspend/resume ops

This ensures codec will resume after suspending during playback.

---
 sound/soc/codecs/cs42l43.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/cs42l43.c +1 -0
index bee032c3ebbe..d2a2daefc2ec 100644
@@ -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

maintainer
#2 lore raw
In reply to Maciej Strozek
Quoted 3 lines · Maciej Strozek

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