diff options
| author | Charles Keepax <[email protected]> | 2025-08-20 16:37:16 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-09-04 11:53:06 +0000 |
| commit | 16c912ec34edc4d7daecde58e40d480858830a12 (patch) | |
| tree | 3a9dc52883e008a47c61f30575b115af3eb18005 | |
| parent | ASoC: SDCA: Fix return value in sdca_regmap_mbq_size() (diff) | |
| download | kernel-16c912ec34edc4d7daecde58e40d480858830a12.tar.gz kernel-16c912ec34edc4d7daecde58e40d480858830a12.zip | |
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: b9ab3b618241 ("ASoC: SDCA: Add some initial IRQ handlers")
Signed-off-by: Charles Keepax <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
| -rw-r--r-- | sound/soc/sdca/sdca_interrupts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sdca/sdca_interrupts.c b/sound/soc/sdca/sdca_interrupts.c index 8018773ee426..79bf3042f57d 100644 --- a/sound/soc/sdca/sdca_interrupts.c +++ b/sound/soc/sdca/sdca_interrupts.c @@ -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) { |
