projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be82e88
)
asoc: Update supported rate and format for dummy dai
author
Rohit kumar
<rohitkr@codeaurora.org>
Sat, 27 Jun 2020 13:37:10 +0000
(19:07 +0530)
committer
Mark Brown
<broonie@kernel.org>
Mon, 29 Jun 2020 17:48:51 +0000
(18:48 +0100)
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>
sound/soc/soc-utils.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-utils.c
b/sound/soc/soc-utils.c
index
922eac9
..
364b248
100644
(file)
--- 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_
192
000
+#define STUB_RATES SNDRV_PCM_RATE_8000_
384
000
#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 | \