提交 7c08b51f 编写于 作者: M Mark Brown

ASoC: wm8994: Report any low impedance accessory as a headphone

Report any accessory with a low impedance as a headphone, previously
anything other than a short or microphone would not be reported at all.
The most likely reason is a microphone with incorrect polarity.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 d7b35570
......@@ -3089,7 +3089,7 @@ static void wm8958_default_micdet(u16 status, void *data)
}
if (wm8994->mic_detecting && status & 0x4) {
if (wm8994->mic_detecting && status & 0xfc) {
dev_dbg(codec->dev, "Detected headphone\n");
wm8994->mic_detecting = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册