From: Mark Brown Date: Wed, 30 Nov 2011 14:56:40 +0000 (+0000) Subject: ASoC: Provide debug log of accessory status on WM8958 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a1691343a397157dd5f67bce50435f64024a462d;p=openwrt%2Fstaging%2Fblogic.git ASoC: Provide debug log of accessory status on WM8958 Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 027bf683efce..16e2bd7c3cea 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -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");