summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-30 14:56:40 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-30 20:50:28 +0000
commita1691343a397157dd5f67bce50435f64024a462d (patch)
treefb65878ed09b2310e51d956cc71fc81493973ae0 /sound/soc/codecs/wm8994.c
parent6414261f0a2af00c6ffc80f847e9202344360bb4 (diff)
downloadblackbird-op-linux-a1691343a397157dd5f67bce50435f64024a462d.tar.gz
blackbird-op-linux-a1691343a397157dd5f67bce50435f64024a462d.zip
ASoC: Provide debug log of accessory status on WM8958
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 2 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud