]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: SDCA: Add sdca_irq_cleanup_late()
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 21 Jul 2026 14:36:31 +0000 (15:36 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jul 2026 17:47:04 +0000 (18:47 +0100)
commitf18e97fa7f125e0e7da130b4d0ff1edd48d7510a
tree56478e592c9b5deb0ec2fbee5a3505848db28fa0
parent4ecef577d1ceddaa906720c71c06672433aba318
ASoC: SDCA: Add sdca_irq_cleanup_late()

The SDCA IRQs are split into two groups, those registered at bus probe
time (basically just FDL) and those registered at component time.
There currently exists only a single cleanup function, if the FDL IRQ
is freed at component time, then nothing would re-register it if the
component is probed again. But the IRQs depending on a component need
to be freed if the card is destroyed so they can't use stale
components.

Split the clean up into two functions one for the component level and
one for the bus level.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260721143636.361814-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_interrupts.h
sound/soc/sdca/sdca_class_function.c
sound/soc/sdca/sdca_interrupts.c