[alsa-devel] [PATCH] ASoC: Provide debug log of accessory status on WM8958
30 Nov
2011
30 Nov
'11
8:50 p.m.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com --- sound/soc/codecs/wm8994.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 5320a9e..65e09e8 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -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");
--
1.7.7.3
4735
Age (days ago)
4735
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown