Skip to content

Commit

Permalink
ALSA: Add missing dependency on CONFIG_SND_TIMER
Browse files Browse the repository at this point in the history
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: 90bbaf6 ('ALSA: timer: add config item to export PCM timer disabling for expert')
Reported-by: kbuild test robot <[email protected]>
Cc: <[email protected]> # v4.4+
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Jan 27, 2016
1 parent 0790529 commit 61595dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/isa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
config SND_WSS_LIB
tristate
select SND_PCM
select SND_TIMER

config SND_SB_COMMON
tristate
Expand Down Expand Up @@ -42,6 +43,7 @@ config SND_AD1816A
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
select SND_TIMER
help
Say Y here to include support for Analog Devices SoundPort
AD1816A or compatible sound chips.
Expand Down Expand Up @@ -209,6 +211,7 @@ config SND_GUSCLASSIC
tristate "Gravis UltraSound Classic"
select SND_RAWMIDI
select SND_PCM
select SND_TIMER
help
Say Y here to include support for Gravis UltraSound Classic
soundcards.
Expand All @@ -221,6 +224,7 @@ config SND_GUSEXTREME
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
select SND_TIMER
help
Say Y here to include support for Gravis UltraSound Extreme
soundcards.
Expand Down
3 changes: 3 additions & 0 deletions sound/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ config SND_AZT3328
select SND_PCM
select SND_RAWMIDI
select SND_AC97_CODEC
select SND_TIMER
depends on ZONE_DMA
help
Say Y here to include support for Aztech AZF3328 (PCI168)
Expand Down Expand Up @@ -463,6 +464,7 @@ config SND_EMU10K1
select SND_HWDEP
select SND_RAWMIDI
select SND_AC97_CODEC
select SND_TIMER
depends on ZONE_DMA
help
Say Y to include support for Sound Blaster PCI 512, Live!,
Expand Down Expand Up @@ -889,6 +891,7 @@ config SND_YMFPCI
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_AC97_CODEC
select SND_TIMER
help
Say Y here to include support for Yamaha PCI audio chips -
YMF724, YMF724F, YMF740, YMF740C, YMF744, YMF754.
Expand Down
1 change: 1 addition & 0 deletions sound/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config SND_SUN_AMD7930
config SND_SUN_CS4231
tristate "Sun CS4231"
select SND_PCM
select SND_TIMER
help
Say Y here to include support for CS4231 sound device on Sun.

Expand Down

0 comments on commit 61595dc

Please sign in to comment.