ASoC: wm8962: Log AIF configuration requested by hw_params()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Jul 2012 17:19:58 +0000 (18:19 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Jul 2012 19:10:51 +0000 (20:10 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8962.c

index 27da4d722edc82dc4ec5dee9d9cce7fcce6dc375..beb709bd56cdda685eca60aa6c5fe1592317488b 100644 (file)
@@ -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);