diff options
author | Kuninori Morimoto | 2015-04-10 11:47:00 +0200 |
---|---|---|
committer | Mark Brown | 2015-04-10 17:11:12 +0200 |
commit | a5053a8e200e865ab786384df3f985a3cbb346fe (patch) | |
tree | 41f2e16371b52738e3b90cce8612830ddd35a0b7 /include | |
parent | Merge branch 'topic/dapm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | kernel-qcow2-linux-a5053a8e200e865ab786384df3f985a3cbb346fe.tar.gz kernel-qcow2-linux-a5053a8e200e865ab786384df3f985a3cbb346fe.tar.xz kernel-qcow2-linux-a5053a8e200e865ab786384df3f985a3cbb346fe.zip |
ASoC: core: call snd_soc_runtime_set_dai_fmt() before soc_new_pcm()
Current snd_soc_runtime_set_dai_fmt() is called after
soc_probe_link_dais(). this means snd_soc_dai_set_fmt() will be
called after soc_new_pcm().
Before appling 1efb53a220b78fdfdbb97b726a2156713e75bdab
(ASoC: simple-card: Remove support for setting differing DAI formats)
simple-card user had (1) snd_soc_dai_set_fmt() -> soc_new_pcm(),
but, after that it is (2) soc_new_pcm() -> snd_soc_dai_set_fmt().
At least rsnd driver is assuming (1) pattern.
This patch move snd_soc_dai_set_fmt() into soc_probe_link_dais()
after the dai_link->init section to solve this issue.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions