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:
d062110
)
ASoC: test-component: Support continuous rates for test component
author
John Watts
<contact@jookia.org>
Tue, 12 Nov 2024 10:34:00 +0000
(21:34 +1100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 12 Nov 2024 13:08:30 +0000
(13:08 +0000)
There's no reason to limit the supported rates of the test component
to specific ones as if it's a real piece of hardware. Set the rates to
continuous to aid in testing different rates.
Signed-off-by: John Watts <contact@jookia.org>
Link:
https://patch.msgid.link/20241112-alsa_test_rates-v1-1-95cf529db871@jookia.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/test-component.c
patch
|
blob
|
history
diff --git
a/sound/soc/generic/test-component.c
b/sound/soc/generic/test-component.c
index
4072880
..
c17abbe
100644
(file)
--- a/
sound/soc/generic/test-component.c
+++ b/
sound/soc/generic/test-component.c
@@
-224,7
+224,7
@@
static const struct snd_soc_dai_ops test_verbose_ops = {
.num_auto_selectable_formats = 1,
};
-#define STUB_RATES SNDRV_PCM_RATE_
8000_384000
+#define STUB_RATES SNDRV_PCM_RATE_
CONTINUOUS
#define STUB_FORMATS (SNDRV_PCM_FMTBIT_S8 | \
SNDRV_PCM_FMTBIT_U8 | \
SNDRV_PCM_FMTBIT_S16_LE | \