projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6414261
)
ASoC: Provide debug log of accessory status on WM8958
author
Mark Brown
<
[email protected]
>
Wed, 30 Nov 2011 14:56:40 +0000
(14:56 +0000)
committer
Mark Brown
<
[email protected]
>
Wed, 30 Nov 2011 20:50:28 +0000
(20:50 +0000)
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index 027bf683efce283ba7eb0e6eae182f7d8c608790..16e2bd7c3ceab54e50d7aec971c9a25fe6f7601e 100644
(file)
--- 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");