summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-11-05 01:42:24 +0100
committerMark Brown <broonie@kernel.org>2016-11-09 15:46:09 +0100
commit17e593e32cebd0d79c7317d35b7e3b022fdfcefa (patch)
treec1640fd42ca6049a000d8fea3408dc4d8a4d0fe0
parentASoC: topology: Check name strings of physical DAI links (diff)
downloadlinux-17e593e32cebd0d79c7317d35b7e3b022fdfcefa.tar.xz
linux-17e593e32cebd0d79c7317d35b7e3b022fdfcefa.zip
ASoC: topology: ABI - Rename be_dai_elems to dai_elems in manifest
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>
-rw-r--r--include/uapi/sound/asoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index 6a4280c6e860..721dd941f171 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -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));