]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f54b7ac30f8ab332da38940e3dcdcbb0bf4a646
treec860ab8897e833b703c98128fc7bf977e1ca8669
parentcbbfc08d43f2c57e0868b201b3ed901baa16708a
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