ALSA: aloop: Fix dependency on timer API
authorTakashi Iwai <tiwai@suse.de>
Sun, 24 Nov 2019 08:39:24 +0000 (09:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 24 Nov 2019 08:40:53 +0000 (09:40 +0100)
An explicit Kconfig dependency is missing for the recent addition of
the timer support.  CONFIG_SND_TIMER isn't always selected by SND_PCM.

Fixes: 26c53379f98d ("ALSA: aloop: Support selection of snd_timer instead of jiffies")
Reported-by: kbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20191124083924.14049-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/Kconfig

index 15d6d46acf9c3ffe934439af2a5991c4f5cf0e5a..577c8e03ec4d5646be41b8e7722e4d17a38ee063 100644 (file)
@@ -92,6 +92,7 @@ config SND_DUMMY
 config SND_ALOOP
        tristate "Generic loopback driver (PCM)"
        select SND_PCM
+       select SND_TIMER
        help
          Say 'Y' or 'M' to include support for the PCM loopback device.
          This module returns played samples back to the user space using