ASoC: audio-graph-card: tidyup asoc_simple_card_canonicalize_cpu() parameter
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 22 Jun 2017 06:21:49 +0000 (06:21 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jun 2017 12:02:56 +0000 (13:02 +0100)
commit47ca9593decee772a48d630af815aabedf99e694
tree1f954b7b48f6ffd2643d3f049d2f92416ecad750
parentfa2760dd366c735637504d1d7efab7688391c6b4
ASoC: audio-graph-card: tidyup asoc_simple_card_canonicalize_cpu() parameter

asoc_simple_card_canonicalize_cpu() 2nd param is asking CPU component's
DAI links, not Card links.
This patch fixup it. Otherwise, audio-graph-card can't handle CPU
component correctly if CPU has mult-DAIs and Card uses only one of them

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