Skip to content

Commit 16c912e

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: SDCA: Fix return value in detected_mode_handler()
The detected mode IRQ handler should return an irqreturn_t not a regular error code. Correct the return value in detected_mode_handler(). Fixes: b9ab3b6 ("ASoC: SDCA: Add some initial IRQ handlers") Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Message-ID: <20250820163717.1095846-3-ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent f81e630 commit 16c912e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/sdca/sdca_interrupts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static irqreturn_t detected_mode_handler(int irq, void *data)
155155
SDCA_CTL_SELECTED_MODE_NAME);
156156

157157
if (!name)
158-
return -ENOMEM;
158+
return IRQ_NONE;
159159

160160
kctl = snd_soc_component_get_kcontrol(component, name);
161161
if (!kctl) {

0 commit comments

Comments
 (0)