Skip to content

Commit 9001d51

Browse files
committed
ALSA: seq: Make dependency on UMP clearer
CONFIG_SND_SEQ_UMP_CLIENT is a Kconfig for a sequencer client corresponding to the UMP rawmidi, while we have another major knob CONFIG_SND_SEQ_UMP that specifies whether the sequencer core supports UMP packets or not. Strictly speaking both of them are independent, but practically seen, it makes no sense to enable CONFIG_SND_SEQ_UMP_CLIENT without UMP support itself. This patch makes such an implicit dependency clearer. Now CONFIG_SND_SEQ_UMP_CLIENT depends on both CONFIG_SND_UMP and CONFIG_SND_SEQ_UMP. Meanwhile, CONFIG_SND_SEQ_UMP is enabled as default when CONFIG_SND_UMP is set. Fixes: 81fd444 ("ALSA: seq: Bind UMP device") Link: https://patch.msgid.link/20250101125548.25961-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 20ce9de commit 9001d51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/core/seq/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ config SND_SEQ_VIRMIDI
6262

6363
config SND_SEQ_UMP
6464
bool "Support for UMP events"
65-
default y if SND_SEQ_UMP_CLIENT
65+
default SND_UMP
6666
help
6767
Say Y here to enable the support for handling UMP (Universal MIDI
6868
Packet) events via ALSA sequencer infrastructure, which is an
@@ -71,6 +71,6 @@ config SND_SEQ_UMP
7171
among legacy and UMP clients.
7272

7373
config SND_SEQ_UMP_CLIENT
74-
def_tristate SND_UMP
74+
def_tristate SND_UMP && SND_SEQ_UMP
7575

7676
endif # SND_SEQUENCER

0 commit comments

Comments
 (0)