Skip to content

Commit ae95efd

Browse files
broonietiwai
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 8370d9b commit ae95efd

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,25 @@ card.hda {
3939
#
4040
pcm.0.0 {
4141
PLAYBACK {
42-
test.time1 {
43-
access RW_INTERLEAVED # can be omitted - default
44-
format S16_LE # can be omitted - default
45-
rate 48000 # can be omitted - default
46-
channels 2 # can be omitted - default
47-
period_size 512
48-
buffer_size 4096
49-
}
50-
test.time2 {
51-
access RW_INTERLEAVED
52-
format S16_LE
53-
rate 48000
54-
channels 2
55-
period_size 24000
56-
buffer_size 192000
57-
}
42+
#
43+
# Uncomment to override values for specific tests
44+
#
45+
#test_name1 {
46+
# access RW_INTERLEAVED
47+
# format S16_LE
48+
# rate 48000
49+
# channels 2
50+
# period_size 512
51+
# buffer_size 4096
52+
#}
53+
#test_name2 {
54+
# access RW_INTERLEAVED
55+
# format S16_LE
56+
# rate 48000
57+
# channels 2
58+
# period_size 24000
59+
# buffer_size 192000
60+
#}
5861
}
5962
CAPTURE {
6063
# use default tests, check for the presence

0 commit comments

Comments
 (0)