提交 a1691343 编写于 作者: M Mark Brown

ASoC: Provide debug log of accessory status on WM8958

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 6414261f
......@@ -3042,6 +3042,8 @@ static void wm8958_default_micdet(u16 status, void *data)
struct snd_soc_codec *codec = data;
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
dev_dbg(codec->dev, "MICDET %x\n", status);
/* If nothing present then clear our statuses */
if (!(status & WM8958_MICD_STS)) {
dev_dbg(codec->dev, "Detected open circuit\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册