ASoC: Provide debug log of accessory status on WM8958
Subsystems (3)
PATCH 1/1 ASoC: Provide debug log of accessory status on WM8958
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/wm8994.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8994.c +2 -0
@@ -2946,6 +2946,8 @@ static void wm8958_default_micdet(u16 status, void *data)struct wm8994_priv *wm8994 =snd_soc_codec_get_drvdata (codec);int report; +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" );
Signature · 1 line
1.7.7.3