projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: arizona: Store the DAI clock ID when setting
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
codecs
/
arizona.c
diff --git
a/sound/soc/codecs/arizona.c
b/sound/soc/codecs/arizona.c
index 49d115205810cb599e211844a55519676e706669..6c1be6cadc0bcc6f77684be15bac42fca51844a7 100644
(file)
--- 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);
}