summaryrefslogtreecommitdiffstats
path: root/include/uapi/sound/asoc.h
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-08-19 12:12:46 +0200
committerMark Brown <broonie@kernel.org>2016-08-22 19:55:30 +0200
commitf918e1697b1a8f2f26a4813db053cfbcafc48046 (patch)
tree33c7622f06b0c6b83a6b2eed831fb9a9c8e629d3 /include/uapi/sound/asoc.h
parentASoC: topology: Fix error return code in soc_tplg_dapm_widget_create() (diff)
downloadlinux-f918e1697b1a8f2f26a4813db053cfbcafc48046.tar.xz
linux-f918e1697b1a8f2f26a4813db053cfbcafc48046.zip
ASoC: topology: ABI - Add sig_bits to stream caps
Kernel struct snd_soc_pcm_stream, SoC PCM stream information, needs this field. Although current topology users don't configure this, we define it for future extension. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/sound/asoc.h')
-rw-r--r--include/uapi/sound/asoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index f734bea9a032..33d00a4ce656 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -257,6 +257,7 @@ struct snd_soc_tplg_stream_caps {
__le32 period_size_max; /* max period size bytes */
__le32 buffer_size_min; /* min buffer size bytes */
__le32 buffer_size_max; /* max buffer size bytes */
+ __le32 sig_bits; /* number of bits of content */
} __attribute__((packed));
/*