ASoC: wm8962: Update the clocking when setting system clock
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 06:26:23 +0000 (22:26 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 06:31:59 +0000 (22:31 -0800)
Make sure we update for any changes in cases where we reconfigure while
live (eg, for analogue bypass).

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8962.c

index 5a6516e..a5b8a09 100644 (file)
@@ -2705,6 +2705,8 @@ static int wm8962_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id,
 
        wm8962->sysclk_rate = freq;
 
+       wm8962_configure_bclk(codec);
+
        return 0;
 }