summaryrefslogtreecommitdiffstats
path: root/sound/soc/stm/stm32_sai.h
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2018-02-19 16:00:37 +0100
committerMark Brown <broonie@kernel.org>2018-02-26 12:19:04 +0100
commit6eb17d70932b5fbe25d9e7fc6d45d29d7a6cdf94 (patch)
tree755766be9c03ab4eeba43f97fa66b0ab71073f79 /sound/soc/stm/stm32_sai.h
parentASoC: stm32: Add S/PDIF to SAI bindings (diff)
downloadlinux-6eb17d70932b5fbe25d9e7fc6d45d29d7a6cdf94.tar.xz
linux-6eb17d70932b5fbe25d9e7fc6d45d29d7a6cdf94.zip
ASoC: stm32: sai: Add support of S/PDIF playback
Add support of S/PDIF iec60958 playback on STM32 SAI. Signed-off-by: olivier moysan <olivier.moysan@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm/stm32_sai.h')
-rw-r--r--sound/soc/stm/stm32_sai.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/stm/stm32_sai.h b/sound/soc/stm/stm32_sai.h
index bb062e70de63..f25422174909 100644
--- a/sound/soc/stm/stm32_sai.h
+++ b/sound/soc/stm/stm32_sai.h
@@ -248,9 +248,11 @@ enum stm32_sai_version {
/**
* struct stm32_sai_conf - SAI configuration
* @version: SAI version
+ * @has_spdif: SAI S/PDIF support flag
*/
struct stm32_sai_conf {
int version;
+ bool has_spdif;
};
/**