Skip to content

Commit c853e96

Browse files
Jookiabroonie
authored andcommitted
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>
1 parent d062110 commit c853e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/generic/test-component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static const struct snd_soc_dai_ops test_verbose_ops = {
224224
.num_auto_selectable_formats = 1,
225225
};
226226

227-
#define STUB_RATES SNDRV_PCM_RATE_8000_384000
227+
#define STUB_RATES SNDRV_PCM_RATE_CONTINUOUS
228228
#define STUB_FORMATS (SNDRV_PCM_FMTBIT_S8 | \
229229
SNDRV_PCM_FMTBIT_U8 | \
230230
SNDRV_PCM_FMTBIT_S16_LE | \

0 commit comments

Comments
 (0)