diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-06-08 14:44:12 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-09 15:28:58 +0100 |
commit | b73287f0b0745961b14e5ebcce92cc8ed24d4d52 (patch) | |
tree | ceb1e3a67c428ee57162fd5fee9ef0398cdfcfb2 /lib | |
parent | 8a9144c1cf523221b37dd3393827253c91fcbf54 (diff) | |
download | linux-b73287f0b0745961b14e5ebcce92cc8ed24d4d52.tar.gz linux-b73287f0b0745961b14e5ebcce92cc8ed24d4d52.tar.bz2 linux-b73287f0b0745961b14e5ebcce92cc8ed24d4d52.zip |
ASoC: soc-pcm: dpcm: fix playback/capture checks
Recent changes in the ASoC core prevent multi-cpu BE dailinks from
being used. DPCM does support multi-cpu DAIs for BE Dailinks, but not
for FE.
Handle the FE checks first, and make sure all DAIs support the same
capabilities within the same dailink.
Fixes: 9b5db059366ae2 ("ASoC: soc-pcm: dpcm: Only allow playback/capture if supported")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
BugLink: https://github.com/thesofproject/linux/issues/2031
Link: https://lore.kernel.org/r/20200608194415.4663-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions