From: Shengjiu Wang Date: Wed, 5 Feb 2025 06:24:44 +0000 (+0800) Subject: ASoC: dmic: Add DSD big endian format support X-Git-Tag: v6.15-rc1~173^2~4^2~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=678681828bf4abfd3c31f36390d2097682141d11;p=thirdparty%2Flinux.git ASoC: dmic: Add DSD big endian format support Add DSD big endian format support in this generic dmic driver: DSD_U16_BE and DSD_U32_BE. Signed-off-by: Shengjiu Wang Link: https://patch.msgid.link/20250205062444.1694810-1-shengjiu.wang@nxp.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/dmic.c b/sound/soc/codecs/dmic.c index 4fd6f97e5a493..0388f115470c2 100644 --- 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, };