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

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: 81fd444aa371 ("ALSA: seq: Bind UMP device")
Link: https://patch.msgid.link/20250101125548.25961-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+2 -2
+2 -2
sound/core/seq/Kconfig
··· 62 62 63 63 config SND_SEQ_UMP 64 64 bool "Support for UMP events" 65 - default y if SND_SEQ_UMP_CLIENT 65 + default SND_UMP 66 66 help 67 67 Say Y here to enable the support for handling UMP (Universal MIDI 68 68 Packet) events via ALSA sequencer infrastructure, which is an ··· 71 71 among legacy and UMP clients. 72 72 73 73 config SND_SEQ_UMP_CLIENT 74 - def_tristate SND_UMP 74 + def_tristate SND_UMP && SND_SEQ_UMP 75 75 76 76 endif # SND_SEQUENCER