From: Mark Brown Date: Fri, 17 Feb 2012 06:26:23 +0000 (-0800) Subject: ASoC: wm8962: Update the clocking when setting system clock X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=71de4d27c8e7e1d27dcab8bb983eff80ec8a3299;p=linux-beck.git 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 --- diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 5a6516ee06a8..a5b8a0963581 100644 --- a/sound/soc/codecs/wm8962.c +++ b/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; }