ASoC: topology: ABI - Rename be_dai_elems to dai_elems in manifest
authorMengdong Lin <mengdong.lin@linux.intel.com>
Sat, 5 Nov 2016 00:42:24 +0000 (08:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2016 14:46:09 +0000 (14:46 +0000)
User space uses this field to count physical DAIs, not only BE DAIs since
users may not use DPCM. So we rename this field from be_dai_elems to
dai_elems.

This change is backward compatible, because it does not change the layout
of the struct or data type.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/asoc.h

index 6a4280c6e860383d30da0967a85a2b9391ecc12d..721dd941f1718439e669e4ab20b3e0639fae2368 100644 (file)
@@ -348,7 +348,7 @@ struct snd_soc_tplg_manifest {
        __le32 graph_elems;     /* number of graph elements */
        __le32 pcm_elems;       /* number of PCM elements */
        __le32 dai_link_elems;  /* number of DAI link elements */
-       __le32 be_dai_elems;    /* number of BE DAI elements */
+       __le32 dai_elems;       /* number of physical DAI elements */
        __le32 reserved[20];    /* reserved for new ABI element types */
        struct snd_soc_tplg_private priv;
 } __attribute__((packed));