[PATCH] ASoC: dpcm: don't merge format from invalid codec dai

2018-06-27 Thread Jerome Brunet
When merging codec formats, dpcm_runtime_base_format() should skip the codecs which are not supporting the current stream direction. At the moment, if a BE link has more than one codec, and only one of these codecs has no capture DAI, it becomes impossible to start a capture stream because the

[PATCH] ASoC: dpcm: don't merge format from invalid codec dai

2018-06-27 Thread Jerome Brunet
When merging codec formats, dpcm_runtime_base_format() should skip the codecs which are not supporting the current stream direction. At the moment, if a BE link has more than one codec, and only one of these codecs has no capture DAI, it becomes impossible to start a capture stream because the