Unverified Commit 16c912ec authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

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: b9ab3b61 ("ASoC: SDCA: Add some initial IRQ handlers")
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Message-ID: <20250820163717.1095846-3-ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f81e6304
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ static irqreturn_t detected_mode_handler(int irq, void *data)
							   SDCA_CTL_SELECTED_MODE_NAME);

		if (!name)
			return -ENOMEM;
			return IRQ_NONE;

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