提交 9e43088b 编写于 作者: M Mark Brown

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

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册