projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f79898f
)
ASoC: hdmi_spdif: support format SNDRV_PCM_FMTBIT_S24_LE
author
Sugar Zhang
<sugar.zhang@rock-chips.com>
Thu, 9 Jul 2015 08:17:50 +0000
(16:17 +0800)
committer
Sugar Zhang
<sugar.zhang@rock-chips.com>
Thu, 9 Jul 2015 08:56:54 +0000
(16:56 +0800)
because of DMA_SLAVE_BUSWIDTH_4_BYTES, we support SNDRV_PCM_FMTBIT_S24_LE
which store data in low three bytes. not support SNDRV_PCM_FMTBIT_S24_3LE
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
sound/soc/codecs/hdmi_spdif.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/hdmi_spdif.c
b/sound/soc/codecs/hdmi_spdif.c
index a820a8e13f98eaebe2bd92ed8ed535fb45ef39f1..792263cffa19506c75c0ce2e6d08cdac8418d0b7 100755
(executable)
--- a/
sound/soc/codecs/hdmi_spdif.c
+++ b/
sound/soc/codecs/hdmi_spdif.c
@@
-26,7
+26,7
@@
#define DRV_NAME "spdif-dit"
#define STUB_RATES SNDRV_PCM_RATE_8000_192000
-#define STUB_FORMATS
SNDRV_PCM_FMTBIT_S16_LE
+#define STUB_FORMATS
(SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
static struct snd_soc_codec_driver soc_codec_spdif_dit;