summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5100.h
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-11-02 18:00:16 +0100
committerMark Brown <broonie@kernel.org>2016-11-03 17:06:31 +0100
commit55726dc95b78da32454878ac2b8a76daa53db396 (patch)
tree4a1047f5b6255ca9c005734ad12d508336efbe27 /sound/soc/codecs/wm5100.h
parentASoC: topology: Make manifest backward compatible from ABI v4 (diff)
downloadlinux-55726dc95b78da32454878ac2b8a76daa53db396.tar.xz
linux-55726dc95b78da32454878ac2b8a76daa53db396.zip
ASoC: topology: Make PCM backward compatible from ABI v4
This patch adds support for old version 4 of PCMs (FE DAI & DAI links). Topology ABI v5 added new fields to stream caps and thus changed PCMs. Since user space may still uses v4, kernel will check the ABI version by comparing the object size. If user space uses v4 of PCMs, kernel will create the latest version of PCMs from the old version, and use the new version internally to create FE DAI & DAI links. Because these new created PCM elements will be freed later, kernel need duplicate the name strings of DAI driver and DAI links when creating them. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm5100.h')
0 files changed, 0 insertions, 0 deletions