Home
last modified time | relevance | path

Searched hist:fce9b90c (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/generic/
H A Daudio-graph-card.cfce9b90c Thu Dec 20 01:46:20 GMT 2018 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> ASoC: audio-graph-card: cleanup DAI link loop method - step2

Current audio-graph-card is parsing DAI link for both "normal sound" and
"DPCM sound". On this driver, it needs to count and parse
DAIs/Links/Codec Conf from each links.
Then, counting/parsing link loop are very similar, but using different
implementation. Because of this background, the link loop code is very
mysterious. Mystery code will be trouble in the future.

This patch cleanups the code by using asoc_graph_card_for_each_link()
which judges normal link / DPCM link.

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