ASoC: wm8994: Avoid leaking pm_runtime reference on removed jack race
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
7d6898be8d
commit
9e43088bb0
|
@ -3836,7 +3836,7 @@ static irqreturn_t wm8958_mic_irq(int irq, void *data)
|
|||
ret);
|
||||
} else if (!(ret & WM1811_JACKDET_LVL)) {
|
||||
dev_dbg(codec->dev, "Ignoring removed jack\n");
|
||||
return IRQ_HANDLED;
|
||||
goto out;
|
||||
}
|
||||
} else if (!(reg & WM8958_MICD_STS)) {
|
||||
snd_soc_jack_report(wm8994->micdet[0].jack, 0,
|
||||
|
|
Loading…
Reference in New Issue