ASoC: simple-card-utils: tidyup asoc_simple_card_parse_convert()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 21 Nov 2018 02:10:51 +0000 (02:10 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Nov 2018 13:28:34 +0000 (13:28 +0000)
commita48bf02b35d9325eedb56ab531038511695a2734
treee85508ba96a97f73af18bd0ec05ed8dd791c7e83
parentf31a17105560f5f074f4d26fd5469a221f50af18
ASoC: simple-card-utils: tidyup asoc_simple_card_parse_convert()

Current simple-card-utils has asoc_simple_card_parse_convert() to parse
convert channel/rate for be_hw_params_fixup.
But, it is parsing from top of node.

If sound card had multi subnode, we need to parse it from each sub node.
This patch tidyup asoc_simple_card_parse_convert() to allow parsing
settings from each node.

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