diff options
author | Rohit kumar <rohitkr@codeaurora.org> | 2020-06-27 19:07:10 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-29 18:48:51 +0100 |
commit | abc17b2974d634c17d25be7f4472890c8533a005 (patch) | |
tree | d577ce5b6587df93f03743c103cea0d508ebe8f2 /sound/soc/soc-utils.c | |
parent | be82e88895d17c1e69f3506e133dd4a24af1e3d7 (diff) |
asoc: Update supported rate and format for dummy dai
Add support for 384KHz sample rate and S24_3LE
bitwidth for dummy dai.
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Link: https://lore.kernel.org/r/1593265030-1451-1-git-send-email-rohitkr@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-utils.c')
-rw-r--r-- | sound/soc/soc-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 922eac930df9..364b2483bdee 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c @@ -86,12 +86,13 @@ static const struct snd_soc_component_driver dummy_codec = { .non_legacy_dai_naming = 1, }; -#define STUB_RATES SNDRV_PCM_RATE_8000_192000 +#define STUB_RATES SNDRV_PCM_RATE_8000_384000 #define STUB_FORMATS (SNDRV_PCM_FMTBIT_S8 | \ SNDRV_PCM_FMTBIT_U8 | \ SNDRV_PCM_FMTBIT_S16_LE | \ SNDRV_PCM_FMTBIT_U16_LE | \ SNDRV_PCM_FMTBIT_S24_LE | \ + SNDRV_PCM_FMTBIT_S24_3LE | \ SNDRV_PCM_FMTBIT_U24_LE | \ SNDRV_PCM_FMTBIT_S32_LE | \ SNDRV_PCM_FMTBIT_U32_LE | \ |