Patch "ALSA: seq: Make dependency on UMP clearer" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ALSA: seq: Make dependency on UMP clearer

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     alsa-seq-make-dependency-on-ump-clearer.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d6ad0b3546f99cc33215e4f2b8a59d10962f290e
Author: Takashi Iwai <tiwai@xxxxxxx>
Date:   Wed Jan 1 13:55:47 2025 +0100

    ALSA: seq: Make dependency on UMP clearer
    
    [ Upstream commit 9001d515443518d72222ba4d58e247696b625071 ]
    
    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@xxxxxxx
    Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/core/seq/Kconfig b/sound/core/seq/Kconfig
index 0374bbf51cd4d..e4f58cb985d47 100644
--- a/sound/core/seq/Kconfig
+++ b/sound/core/seq/Kconfig
@@ -62,7 +62,7 @@ config SND_SEQ_VIRMIDI
 
 config SND_SEQ_UMP
 	bool "Support for UMP events"
-	default y if SND_SEQ_UMP_CLIENT
+	default SND_UMP
 	help
 	  Say Y here to enable the support for handling UMP (Universal MIDI
 	  Packet) events via ALSA sequencer infrastructure, which is an
@@ -71,6 +71,6 @@ config SND_SEQ_UMP
 	  among legacy and UMP clients.
 
 config SND_SEQ_UMP_CLIENT
-	def_tristate SND_UMP
+	def_tristate SND_UMP && SND_SEQ_UMP
 
 endif # SND_SEQUENCER




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux