Skip to content

Commit caaf1ec

Browse files
committed
ASoC: cs42l43: Add codec force suspend/resume ops
JIRA: https://issues.redhat.com/browse/RHEL-80681 commit 8f0defd Author: Maciej Strozek <mstrozek@opensource.cirrus.com> Date: Thu Jan 9 09:38:22 2025 +0000 ASoC: cs42l43: Add codec force suspend/resume ops 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> Link: https://patch.msgid.link/20250109093822.5745-1-mstrozek@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
1 parent e4e25b7 commit caaf1ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/codecs/cs42l43.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,6 +2406,7 @@ static int cs42l43_codec_runtime_resume(struct device *dev)
24062406

24072407
static const struct dev_pm_ops cs42l43_codec_pm_ops = {
24082408
RUNTIME_PM_OPS(NULL, cs42l43_codec_runtime_resume, NULL)
2409+
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
24092410
};
24102411

24112412
static const struct platform_device_id cs42l43_codec_id_table[] = {

0 commit comments

Comments
 (0)