projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eab703
)
ASoC: dmic: Add DSD big endian format support
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Wed, 5 Feb 2025 06:24:44 +0000
(14:24 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 5 Feb 2025 12:45:59 +0000
(12:45 +0000)
Add DSD big endian format support in this generic dmic driver:
DSD_U16_BE and DSD_U32_BE.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link:
https://patch.msgid.link/20250205062444.1694810-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/dmic.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/dmic.c
b/sound/soc/codecs/dmic.c
index 4fd6f97e5a493c91c8b1c596661f7521bf7a138e..0388f115470c244187577708cad747f6751bdc2f 100644
(file)
--- a/
sound/soc/codecs/dmic.c
+++ b/
sound/soc/codecs/dmic.c
@@
-85,7
+85,9
@@
static struct snd_soc_dai_driver dmic_dai = {
| SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_DSD_U8
| SNDRV_PCM_FMTBIT_DSD_U16_LE
- | SNDRV_PCM_FMTBIT_DSD_U32_LE,
+ | SNDRV_PCM_FMTBIT_DSD_U32_LE
+ | SNDRV_PCM_FMTBIT_DSD_U16_BE
+ | SNDRV_PCM_FMTBIT_DSD_U32_BE,
},
.ops = &dmic_dai_ops,
};