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: 90bbaf66ee ('ALSA: timer: add config item to export PCM timer disabling for expert')
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2016-01-27 07:05:56 +01:00
parent 07905298e4
commit 61595dca74
3 changed files with 8 additions and 0 deletions

View File

@ -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
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
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
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.

View File

@ -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
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
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.

View File

@ -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.