ASoC: SDCA: Add missing sdca_fdl_free_state definition
Subsystems (2)
PATCH 1/1 ASoC: SDCA: Add missing sdca_fdl_free_state definition
This patch fixes a build failure introduced by commit 0880082c27b6 ("ASoC:
SDCA: Remove devm from primary IRQ cleanup"). It simply adds function sdca_fdl_free_state when SND_SOC_SDCA_FDL isn't defined.
Here's the build error:
../sound/soc/sdca/sdca_interrupts.c:471:56: error: 'sdca_fdl_free_state' undeclared (first use in this function); did you mean 'sdca_jack_free_state'?
--- include/sound/sdca_fdl.h | 4 ++++ 1 file changed, 4 insertions(+)
include/sound/sdca_fdl.h +4 -0
@@ -83,6 +83,10 @@ static inline int sdca_fdl_alloc_state(struct sdca_interrupt *interrupt)return 0 ; } +static inline void sdca_fdl_free_state (struct sdca_interrupt *interrupt) +{ +} +static inline int sdca_fdl_process (struct sdca_interrupt *interrupt) {return 0 ;
Maciej Strozek
maintainerW dniu pon, 10.08.2026 o godzinie 10∶55 +0100, użytkownik Luis
Quoted 6 lines · Henriques
This patch fixes a build failure introduced by commit
0880082c27b6("ASoC:
SDCA: Remove devm from primary IRQ cleanup"). It simply adds functionsdca_fdl_free_statewhenSND_SOC_SDCA_FDLisn't defined.
This was already fixed here:
https://lore.kernel.org/linux-sound/[email protected]/T/#u
Signature · 2 lines
Regards, Maciej
Quoted 10 lines · Maciej Strozek
W dniu pon, 10.08.2026 o godzinie 10∶55 +0100, użytkownik Luis
Quoted 6 lines · Henriques
This patch fixes a build failure introduced by commit
0880082c27b6("ASoC:
SDCA: Remove devm from primary IRQ cleanup"). It simply adds functionsdca_fdl_free_statewhenSND_SOC_SDCA_FDLisn't defined.This was already fixed here:
https://lore.kernel.org/linux-sound/[email protected]/T/#u
I did a quick search before sending a fix and totally failed to see that. Sorry for the noise!
Cheers,
Signature · 1 line
Luís