The alsa kselftests are missing a config file to declare their required kernel configuration options. This causes the utimer-test (timer_f.utimer) to fail on kernels without CONFIG_SND_UTIMER enabled, as the SNDRV_TIMER_IOCTL_CREATE ioctl returns -1.
Add the config file with the necessary sound configs so that 'make kselftest-merge' can enable them automatically. Link: https://lore.kernel.org/linux-kselftest/[email protected]/ Signed-off-by: Ben Copeland <[email protected]> --- tools/testing/selftests/alsa/config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tools/testing/selftests/alsa/config diff --git a/tools/testing/selftests/alsa/config b/tools/testing/selftests/alsa/config new file mode 100644 index 000000000000..810cc31f09b3 --- /dev/null +++ b/tools/testing/selftests/alsa/config @@ -0,0 +1,7 @@ +CONFIG_SND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +CONFIG_SND_PCM_TIMER=y +CONFIG_SND_PCMTEST=m +CONFIG_SND_UTIMER=y +CONFIG_DEBUG_FS=y -- 2.53.0

