Commit 61595dca authored by Takashi Iwai's avatar Takashi Iwai

ALSA: Add missing dependency on CONFIG_SND_TIMER

Since the build of PCM timer may be disabled via Kconfig now, each
driver that provides a timer interface needs to set CONFIG_SND_TIMER
explicitly.  Otherwise it may get a build error due to missing
symbol.

Fixes: 90bbaf66 ('ALSA: timer: add config item to export PCM timer disabling for expert')
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 07905298
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
config SND_WSS_LIB config SND_WSS_LIB
tristate tristate
select SND_PCM select SND_PCM
select SND_TIMER
config SND_SB_COMMON config SND_SB_COMMON
tristate tristate
...@@ -42,6 +43,7 @@ config SND_AD1816A ...@@ -42,6 +43,7 @@ config SND_AD1816A
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
select SND_PCM select SND_PCM
select SND_TIMER
help help
Say Y here to include support for Analog Devices SoundPort Say Y here to include support for Analog Devices SoundPort
AD1816A or compatible sound chips. AD1816A or compatible sound chips.
...@@ -209,6 +211,7 @@ config SND_GUSCLASSIC ...@@ -209,6 +211,7 @@ config SND_GUSCLASSIC
tristate "Gravis UltraSound Classic" tristate "Gravis UltraSound Classic"
select SND_RAWMIDI select SND_RAWMIDI
select SND_PCM select SND_PCM
select SND_TIMER
help help
Say Y here to include support for Gravis UltraSound Classic Say Y here to include support for Gravis UltraSound Classic
soundcards. soundcards.
...@@ -221,6 +224,7 @@ config SND_GUSEXTREME ...@@ -221,6 +224,7 @@ config SND_GUSEXTREME
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
select SND_PCM select SND_PCM
select SND_TIMER
help help
Say Y here to include support for Gravis UltraSound Extreme Say Y here to include support for Gravis UltraSound Extreme
soundcards. soundcards.
......
...@@ -155,6 +155,7 @@ config SND_AZT3328 ...@@ -155,6 +155,7 @@ config SND_AZT3328
select SND_PCM select SND_PCM
select SND_RAWMIDI select SND_RAWMIDI
select SND_AC97_CODEC select SND_AC97_CODEC
select SND_TIMER
depends on ZONE_DMA depends on ZONE_DMA
help help
Say Y here to include support for Aztech AZF3328 (PCI168) Say Y here to include support for Aztech AZF3328 (PCI168)
...@@ -463,6 +464,7 @@ config SND_EMU10K1 ...@@ -463,6 +464,7 @@ config SND_EMU10K1
select SND_HWDEP select SND_HWDEP
select SND_RAWMIDI select SND_RAWMIDI
select SND_AC97_CODEC select SND_AC97_CODEC
select SND_TIMER
depends on ZONE_DMA depends on ZONE_DMA
help help
Say Y to include support for Sound Blaster PCI 512, Live!, Say Y to include support for Sound Blaster PCI 512, Live!,
...@@ -889,6 +891,7 @@ config SND_YMFPCI ...@@ -889,6 +891,7 @@ config SND_YMFPCI
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select SND_TIMER
help help
Say Y here to include support for Yamaha PCI audio chips - Say Y here to include support for Yamaha PCI audio chips -
YMF724, YMF724F, YMF740, YMF740C, YMF744, YMF754. YMF724, YMF724F, YMF740, YMF740C, YMF744, YMF754.
......
...@@ -22,6 +22,7 @@ config SND_SUN_AMD7930 ...@@ -22,6 +22,7 @@ config SND_SUN_AMD7930
config SND_SUN_CS4231 config SND_SUN_CS4231
tristate "Sun CS4231" tristate "Sun CS4231"
select SND_PCM select SND_PCM
select SND_TIMER
help help
Say Y here to include support for CS4231 sound device on Sun. Say Y here to include support for CS4231 sound device on Sun.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment