summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-02 21:19:58 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-03 23:10:51 +0400
commit081413f206876e9d3755e1673828c7742fd00184 (patch)
tree3d12e10d578ead36cf8f83eb8ef15e71f293c3c6
parentdf79f55df3992fdd5dd206de6aa9af6a8ec1f86f (diff)
downloadlinux-081413f206876e9d3755e1673828c7742fd00184.tar.xz
ASoC: wm8962: Log AIF configuration requested by hw_params()
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/wm8962.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 27da4d722edc..beb709bd56cd 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2580,6 +2580,9 @@ static int wm8962_hw_params(struct snd_pcm_substream *substream,
WM8962_SAMPLE_RATE_INT_MODE |
WM8962_SAMPLE_RATE_MASK, adctl3);
+ dev_dbg(codec->dev, "hw_params set BCLK %dHz LRCLK %dHz\n",
+ wm8962->bclk, wm8962->lrclk);
+
if (codec->dapm.bias_level == SND_SOC_BIAS_ON)
wm8962_configure_bclk(codec);