summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-16 22:26:23 -0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-16 22:31:59 -0800
commit71de4d27c8e7e1d27dcab8bb983eff80ec8a3299 (patch)
tree6d4ed4265ed44d58dfc73afc1f308b40bf4ca316 /sound/soc/codecs/wm8962.c
parent0e66821f63b3bf1468f5793759beb09b3e1ffa4f (diff)
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>
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 5a6516ee06a..a5b8a096358 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;
}