summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-12-01 17:07:43 +0000
committerTakashi Iwai <tiwai@suse.de>2022-12-01 20:02:12 +0100
commitae95efd9754c2afceca89635dacba29af794a131 (patch)
tree58b23990cf9ff54b612ae6f84fcdd2783dc489f4
parent8370d9b00c929398cc79572a9b584878024ceb59 (diff)
downloadlinux-stable-ae95efd9754c2afceca89635dacba29af794a131.tar.gz
linux-stable-ae95efd9754c2afceca89635dacba29af794a131.tar.bz2
linux-stable-ae95efd9754c2afceca89635dacba29af794a131.zip
kselftest/alsa: Don't any configuration in the sample config
The values in the one example configuration file we currently have are the default values for the two tests we have so there's no need to actually set them. Comment them out as examples, with a rename for the tests so that we can update the tests in the code more easily. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20221201170745.1111236-5-broonie@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf35
1 files changed, 19 insertions, 16 deletions
diff --git a/tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf b/tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf
index 0a83f35d43eb..9eca985e0c08 100644
--- a/tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf
+++ b/tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf
@@ -39,22 +39,25 @@ card.hda {
#
pcm.0.0 {
PLAYBACK {
- test.time1 {
- access RW_INTERLEAVED # can be omitted - default
- format S16_LE # can be omitted - default
- rate 48000 # can be omitted - default
- channels 2 # can be omitted - default
- period_size 512
- buffer_size 4096
- }
- test.time2 {
- access RW_INTERLEAVED
- format S16_LE
- rate 48000
- channels 2
- period_size 24000
- buffer_size 192000
- }
+ #
+ # Uncomment to override values for specific tests
+ #
+ #test_name1 {
+ # access RW_INTERLEAVED
+ # format S16_LE
+ # rate 48000
+ # channels 2
+ # period_size 512
+ # buffer_size 4096
+ #}
+ #test_name2 {
+ # access RW_INTERLEAVED
+ # format S16_LE
+ # rate 48000
+ # channels 2
+ # period_size 24000
+ # buffer_size 192000
+ #}
}
CAPTURE {
# use default tests, check for the presence