ASoC: audio-graph-scu-card: tidyup asoc_simple_card_parse_daifmt() timing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 22 Nov 2018 00:57:09 +0000 (00:57 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Nov 2018 14:01:54 +0000 (14:01 +0000)
commit338d7159c488268dd4ccc6a69ab4af8f829f75d0
tree56b26bc83a3f1ad106b12c9b2890416723828860
parent7f07a39acf0591fd3823abc1af3c5456e708b77e
ASoC: audio-graph-scu-card: tidyup asoc_simple_card_parse_daifmt() timing

Current audio-graph-scu-card driver is parsing codec position for DPCM
and consider DAI format. But, current operation is doing totally pointless,
because 1) asoc_simple_card_parse_daifmt() will be called not only for 1st
codec on current implementation, and it will be used as fixed format
2) it should be called for each CPU/Codec pair.
Let's tidyup asoc_simple_card_parse_daifmt() timing.

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