]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: soc-core: enable "dai-format" on snd_soc_of_parse_daifmt()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 20 Apr 2017 01:33:24 +0000 (01:33 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2017 09:21:19 +0000 (10:21 +0100)
commit5711c97920377827da4bbc18233ffb08c6e3bbef
tree1648e5ed010ad6a6afe3f910c599faa899560ef8
parentac1e6958d3be29a28889b09e4eec1798eccc1606
ASoC: soc-core: enable "dai-format" on snd_soc_of_parse_daifmt()

Current snd_soc_of_parse_daifmt() detects [prefix]format, but
"format" was unclear in some case. This patch checks "dai-format"
first, and try to check "[prefix]format" if "dai-format" was not
exist.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c