aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/core
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2020-03-04 23:11:43 -0600
committerMark Brown <broonie@kernel.org>2020-03-06 14:24:11 +0000
commit95cfc0a0aaf575207152dd7601e782702565a6f1 (patch)
tree0c871e7bb05463b74a731e29e59ff0d01838a692 /sound/core
parentASoC: pcm: Export parameter intersection logic (diff)
downloadwireguard-linux-95cfc0a0aaf575207152dd7601e782702565a6f1.tar.xz
wireguard-linux-95cfc0a0aaf575207152dd7601e782702565a6f1.zip
ASoC: simple-card: Add support for codec2codec DAI links
Following the example in cb2cf0de1174 ("ASoC: soc-core: care Codec <-> Codec case by non_legacy_dai_naming"), determine if a DAI link contains only codec DAIs by examining the non_legacy_dai_naming flag in each DAI's component. For now, we assume there is only one or a small set of valid PCM stream parameters, so num_params == 1 is good enough. We also assume that the same params are valid for all supported streams. params is set to the subset of parameters common among all DAIs, and then the existing code automatically chooses the highest quality of the remaining values when the link is brought up. Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20200305051143.60691-4-samuel@sholland.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions