diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-06 18:22:25 +0900 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-07 12:53:09 +0900 |
commit | 0c778e86337148110b13b609074109eb4dcacd15 (patch) | |
tree | 57002d0f37f88348237ac6610ff43a82bf169c4a /sound | |
parent | 09871a942ab71fb06ceb7f0a4d38ea62fe7459ec (diff) | |
download | linux-0c778e86337148110b13b609074109eb4dcacd15.tar.bz2 |
ASoC: arizona: Store the DAI clock ID when setting
So the code to suppress duplicate changes is effective.
Reported-by: Kyung Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.comyu@wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/arizona.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 49d115205810..6c1be6cadc0b 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -761,6 +761,8 @@ static int arizona_dai_set_sysclk(struct snd_soc_dai *dai, routes[1].source = arizona_dai_clk_str(clk_id); snd_soc_dapm_add_routes(&codec->dapm, routes, ARRAY_SIZE(routes)); + dai_priv->clk = clk_id; + return snd_soc_dapm_sync(&codec->dapm); } |