]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita20eb4513f161cbee8ba981df13572256eca319a
tree56b26bc83a3f1ad106b12c9b2890416723828860
parent3598b2bd24a88e2a2ff63ae64e439cfcccbd5ccd
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