diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-11-21 02:10:51 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-21 13:28:34 +0000 |
commit | a48bf02b35d9325eedb56ab531038511695a2734 (patch) | |
tree | e85508ba96a97f73af18bd0ec05ed8dd791c7e83 /sound/soc/generic/audio-graph-scu-card.c | |
parent | f31a17105560f5f074f4d26fd5469a221f50af18 (diff) |
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>
Diffstat (limited to 'sound/soc/generic/audio-graph-scu-card.c')
-rw-r--r-- | sound/soc/generic/audio-graph-scu-card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/audio-graph-scu-card.c b/sound/soc/generic/audio-graph-scu-card.c index 2ba35bdd3b38..1f754933ea9f 100644 --- a/sound/soc/generic/audio-graph-scu-card.c +++ b/sound/soc/generic/audio-graph-scu-card.c @@ -204,7 +204,7 @@ static int asoc_graph_card_parse_of(struct graph_card_data *priv) if (ret < 0) return ret; - asoc_simple_card_parse_convert(dev, NULL, &priv->adata); + asoc_simple_card_parse_convert(dev, node, NULL, &priv->adata); /* * it supports multi CPU, single CODEC only here |