summaryrefslogtreecommitdiff
path: root/sound/soc/stm/stm32_sai.c
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2018-02-19 18:00:37 +0300
committerMark Brown <broonie@kernel.org>2018-02-26 14:19:04 +0300
commit6eb17d70932b5fbe25d9e7fc6d45d29d7a6cdf94 (patch)
tree755766be9c03ab4eeba43f97fa66b0ab71073f79 /sound/soc/stm/stm32_sai.c
parent994f46610bafd75a5881544bce9dd3acdbe3626a (diff)
downloadlinux-6eb17d70932b5fbe25d9e7fc6d45d29d7a6cdf94.tar.xz
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.c')
-rw-r--r--sound/soc/stm/stm32_sai.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index d743b7dd52fb..f22654253c43 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -30,10 +30,12 @@
static const struct stm32_sai_conf stm32_sai_conf_f4 = {
.version = SAI_STM32F4,
+ .has_spdif = false,
};
static const struct stm32_sai_conf stm32_sai_conf_h7 = {
.version = SAI_STM32H7,
+ .has_spdif = true,
};
static const struct of_device_id stm32_sai_ids[] = {