]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: Add manual PM runtime gets to IRQ handlers
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 20 Oct 2025 15:54:56 +0000 (16:54 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 15:31:13 +0000 (15:31 +0000)
commit907364ea3db47530751add6d2d62122ca17329cb
tree744eb68c3fb43114902d62658f3fdec4c75115d5
parent013a3a66f25af3fb614f45df43983657514944c4
ASoC: SDCA: Add manual PM runtime gets to IRQ handlers

SDCA interrupt handling is a bit odd, the SDCA IRQ registers are
defined on a device level but the handling of the IRQ is at the
Function level. As such the regmap IRQ's PM runtime operations need to
be on the device itself to ensure those registers are available but an
additional runtime get is required for the Function child when the IRQ
is actually handled. Add the required manual PM runtime gets.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20251020155512.353774-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_interrupts.c