diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2020-06-04 11:08:40 -0500 |
---|---|---|
committer | Adrian Alonso <adrian.alonso@nxp.com> | 2020-06-05 10:20:16 -0500 |
commit | 8504adc81ae7947f1e9142e9ccd79947820f5d6d (patch) | |
tree | 887f6ec22c2d0f5ca756e67f1283ef346b4e7b20 /sound/soc/soc-utils.c | |
parent | aaf3b2d31f3c034d942ab9ef2040c23d349f00a1 (diff) |
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 <adrian.alonso@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Diffstat (limited to 'sound/soc/soc-utils.c')
-rw-r--r-- | sound/soc/soc-utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |