]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: Factor out a helper to find SDCA IRQ data
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 20 Oct 2025 15:55:00 +0000 (16:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 15:31:17 +0000 (15:31 +0000)
commit8d557cc4867f2008f440c54b4423464301a1ef4b
treef5a939f4d7de7a74fa806d745eb554dc66f84925
parent56bbda23d4bece7ce998666118a068e4f71d59fb
ASoC: SDCA: Factor out a helper to find SDCA IRQ data

Add a helper function to locate the sdca_interrupt structure for a given
SDCA IRQ, this makes the code a little more readable and will facilitate
some additions in the future.

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-8-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_interrupts.c