aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/spdif_receiver.c2
-rw-r--r--sound/soc/codecs/spdif_transmitter.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/codecs/spdif_receiver.c b/sound/soc/codecs/spdif_receiver.c
index dd8d856053fc..a0df12d71b75 100644
--- a/sound/soc/codecs/spdif_receiver.c
+++ b/sound/soc/codecs/spdif_receiver.c
@@ -24,6 +24,8 @@
24 24
25#define STUB_RATES SNDRV_PCM_RATE_8000_192000 25#define STUB_RATES SNDRV_PCM_RATE_8000_192000
26#define STUB_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ 26#define STUB_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
27 SNDRV_PCM_FMTBIT_S20_3LE | \
28 SNDRV_PCM_FMTBIT_S24_LE | \
27 SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE) 29 SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)
28 30
29static struct snd_soc_codec_driver soc_codec_spdif_dir; 31static struct snd_soc_codec_driver soc_codec_spdif_dir;
diff --git a/sound/soc/codecs/spdif_transmitter.c b/sound/soc/codecs/spdif_transmitter.c
index 112a49d66e39..dfd03be12ceb 100644
--- a/sound/soc/codecs/spdif_transmitter.c
+++ b/sound/soc/codecs/spdif_transmitter.c
@@ -24,8 +24,9 @@
24#define DRV_NAME "spdif-dit" 24#define DRV_NAME "spdif-dit"
25 25
26#define STUB_RATES SNDRV_PCM_RATE_8000_96000 26#define STUB_RATES SNDRV_PCM_RATE_8000_96000
27#define STUB_FORMATS SNDRV_PCM_FMTBIT_S16_LE 27#define STUB_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
28 28 SNDRV_PCM_FMTBIT_S20_3LE | \
29 SNDRV_PCM_FMTBIT_S24_LE)
29 30
30static struct snd_soc_codec_driver soc_codec_spdif_dit; 31static struct snd_soc_codec_driver soc_codec_spdif_dit;
31 32