Browse Source

ASoC: wm8962: Update the clocking when setting system clock

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>
Mark Brown 13 years ago
parent
commit
71de4d27c8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      sound/soc/codecs/wm8962.c

+ 2 - 0
sound/soc/codecs/wm8962.c

@@ -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;
 }