summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJohn Watts <contact@jookia.org>2024-11-12 21:34:00 +1100
committerMark Brown <broonie@kernel.org>2024-11-12 13:08:30 +0000
commitc853e96308c58f9a06fcf393bcfe0eabdb72ca9c (patch)
tree150269d80e5445c9f0f93ac7ed1c0fb4a2cb43a1 /sound
parentd0621105eff307408ceb3d0eb61ca2a23c37fcbe (diff)
downloadlwn-c853e96308c58f9a06fcf393bcfe0eabdb72ca9c.tar.gz
lwn-c853e96308c58f9a06fcf393bcfe0eabdb72ca9c.zip
ASoC: test-component: Support continuous rates for test component
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/generic/test-component.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/test-component.c b/sound/soc/generic/test-component.c
index 407288055741..c17abbeafcab 100644
--- 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 | \