ASoC: dpcm: extend channel merging to the backend cpu dai
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 27 Jun 2018 09:48:18 +0000 (11:48 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 28 Jun 2018 10:17:02 +0000 (11:17 +0100)
commit4f2bd18b191a10660782f2f1ccc989b000b2be63
treec860ab8897e833b703c98128fc7bf977e1ca8669
parentc54c1c5ee8e73b7cb752834e52e2129b1dab00bd
ASoC: dpcm: extend channel merging to the backend cpu dai

Extend dpcm_merge_chan to also check backend cpu dai channels
capabilities. Apply the same policy as soc_pcm_init_runtime_hw() for
multicodec links and only check cpu dai in this case.

Cc: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c