OSDN Git Service

ASoC: audio-graph-scu-card: tidyup "convert-rate/channels" parsing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 22 Nov 2018 00:56:53 +0000 (00:56 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Nov 2018 14:01:53 +0000 (14:01 +0000)
commit7f07a39acf0591fd3823abc1af3c5456e708b77e
tree683f86b1c19ee36bcab3eb6a8d4e9b075c47864f
parentdf976517733e34e9c12828357c19bafea5c90cf5
ASoC: audio-graph-scu-card: tidyup "convert-rate/channels" parsing

audio-graph-scu-card.c is supporting "convert-rate/channels" which is
used for DPCM.
But, sound card might have multi codecs, and each codec might need
each convert-rate/channels.

This patch supports each codec's convert-rate/channles support.
top node convert-rate/channels will overwrite settings if exist.

It can't support each codec's convert-rate/channels if sound card had
multi codecs without this patch.

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