Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: Make CONFIG_SND_OSSEMUL user-selectable

Currently CONFIG_SND_OSSEMUL is selected by each config like
CONFIG_SND_PCM_OSS. But, as see in the raw MIDI code that is built
conditionally with CONFIG_SND_OSSEMUL, we should rather make
CONFIG_SND_OSSEMUL user-selectable as the top kconfig item, and leave
the rest depending on it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

+6 -4
+6 -4
sound/core/Kconfig
··· 59 59 will be called snd-seq-dummy. 60 60 61 61 config SND_OSSEMUL 62 + bool "Enable OSS Emulation" 62 63 select SOUND_OSS_CORE 63 - bool 64 + help 65 + This option enables the build of OSS emulation layer. 64 66 65 67 config SND_MIXER_OSS 66 68 tristate "OSS Mixer API" 67 - select SND_OSSEMUL 69 + depends on SND_OSSEMUL 68 70 help 69 71 To enable OSS mixer API emulation (/dev/mixer*), say Y here 70 72 and read <file:Documentation/sound/alsa/OSS-Emulation.txt>. ··· 78 76 79 77 config SND_PCM_OSS 80 78 tristate "OSS PCM (digital audio) API" 81 - select SND_OSSEMUL 79 + depends on SND_OSSEMUL 82 80 select SND_PCM 83 81 help 84 82 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y ··· 112 110 config SND_SEQUENCER_OSS 113 111 bool "OSS Sequencer API" 114 112 depends on SND_SEQUENCER 115 - select SND_OSSEMUL 113 + depends on SND_OSSEMUL 116 114 help 117 115 Say Y here to enable OSS sequencer emulation (both 118 116 /dev/sequencer and /dev/music interfaces).