Commit 9e43088b authored by Mark Brown's avatar Mark Brown

ASoC: wm8994: Avoid leaking pm_runtime reference on removed jack race

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 7d6898be
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment