Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Brown and committed by
Takashi Iwai
ae95efd9 8370d9b0

+19 -16
+19 -16
tools/testing/selftests/alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf
··· 39 39 # 40 40 pcm.0.0 { 41 41 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 + #} 58 61 } 59 62 CAPTURE { 60 63 # use default tests, check for the presence