summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-17 07:26:23 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-17 07:31:59 +0100
commit71de4d27c8e7e1d27dcab8bb983eff80ec8a3299 (patch)
tree6d4ed4265ed44d58dfc73afc1f308b40bf4ca316 /sound
parentASoC: spitz: Fix kcontrols to use card instead of codec (diff)
downloadlinux-71de4d27c8e7e1d27dcab8bb983eff80ec8a3299.tar.xz
linux-71de4d27c8e7e1d27dcab8bb983eff80ec8a3299.zip
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')
-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 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;
}