mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
09871a942a
commit
0c778e8633
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue