From 8504adc81ae7947f1e9142e9ccd79947820f5d6d Mon Sep 17 00:00:00 2001 From: Adrian Alonso Date: Thu, 4 Jun 2020 11:08:40 -0500 Subject: [PATCH] MLK-24267: sound: soc: utils dummy codec dai DSD format support Add dummy codec dai DSD_U8, DSD_U16_LE and DSD_U32_LE format support to allow machine ASoC drivers that support DSD formats to use snd-soc-dummy-dai Signed-off-by: Adrian Alonso Reviewed-by: Viorel Suman --- sound/soc/soc-utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 54dcece52b0c..c5f809d3a710 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c @@ -99,6 +99,9 @@ static const struct snd_soc_component_driver dummy_codec = { SNDRV_PCM_FMTBIT_U24_LE | \ SNDRV_PCM_FMTBIT_S32_LE | \ SNDRV_PCM_FMTBIT_U32_LE | \ + SNDRV_PCM_FMTBIT_DSD_U8 | \ + SNDRV_PCM_FMTBIT_DSD_U16_LE | \ + SNDRV_PCM_FMTBIT_DSD_U32_LE | \ SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE) /* * The dummy CODEC is only meant to be used in situations where there is no