]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: Check for successful runtime-resume in cs35l56_dsp_work()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 11 May 2026 11:42:39 +0000 (12:42 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2026 01:22:13 +0000 (10:22 +0900)
commit8b7c5cc7f6e655087164eb902131de356f6d5984
tree8a1a839959c66fae9e749a6256d012d976272f2c
parent2c7b1227e582e88db7917412dca4e752c1aff691
ASoC: cs35l56: Check for successful runtime-resume in cs35l56_dsp_work()

In cs35l56_dsp_work() check that the request for runtime-resume was
successful instead of assuming that it can't fail.

We may as well do this using the new PM_RUNTIME_ACQUIRE*() macros and
remove the manual pm_runtime_put_autosuspend() and associated gotos.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260511114239.44970-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c