summaryrefslogtreecommitdiffstats
path: root/sound/atmel
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-12-09 15:53:53 +0200
committerMark Brown <broonie@kernel.org>2019-12-10 13:10:40 +0000
commit5525cf07d15f7c7eab619707627c31aa8e39dff1 (patch)
tree2cae1de20c40dff2eb3f287b0076215df5fa4074 /sound/atmel
parenta3039aef52d9ffeb67e9211899cd3e8a2953a01f (diff)
downloadlinux-5525cf07d15f7c7eab619707627c31aa8e39dff1.tar.gz
linux-5525cf07d15f7c7eab619707627c31aa8e39dff1.tar.bz2
linux-5525cf07d15f7c7eab619707627c31aa8e39dff1.zip
ASoC: simple-card: Don't create separate link when platform is present
In normal sound case all DAIs are detected as CPU-Codec. simple_dai_link_of supports the presence of a platform but it counts it as a CPU DAI resulting in the creation of an extra link. Adding a platform property to a link description like: simple-audio-card,dai-link { cpu { sound-dai = <&sai1>; }; plat { sound-dai = <&dsp>; }; codec { sound-dai = <&wm8960>; } will result in the creation of two links: * sai1 <-> wm8960 * dsp <-> wm8960 which is obviously not what we want. We just want one single link with: * sai1 <-> wm8960 (and platform set to dsp). Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/20191209135353.17427-1-daniel.baluta@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions