From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20C38207669; Wed, 5 Feb 2025 14:41:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738766514; cv=none; b=Zwm54/Whv7GXcTpTGAZonq5A7DbUwFsEHolhhYWJSUFIA1x6eRoeIk8SSUFlrypAPrQnMAA/4KBtAvKp5e75C2Js0z0CX3QL1hb3lNOhzssQgGMvXYp/ti08FvX2XrQdEFaOd4LiGkaIY1U9KXiuUUUHZ3ZONeMMPW3NCUrHU8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738766514; c=relaxed/simple; bh=9KfBS26UnMtj1lx4naqHh46TeMHq00cc4CEKTmnVbpo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pyRG443xdYVMSyF1hOjsukTaXoaTYUCNDV0che27VYH2+VqHGVJCWATlgBhOSzylakcntpriJzuwxOdkGMh1onyRHxDsdWPNoUjbR/1C7x/Ks471k/dX+uSazXtWcdEnYwHUg8IZ2gySDVp2joLpyo2VzJQ0Zph00PgcBWBp/9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ejx20fTl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ejx20fTl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A763C4CEE2; Wed, 5 Feb 2025 14:41:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1738766513; bh=9KfBS26UnMtj1lx4naqHh46TeMHq00cc4CEKTmnVbpo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ejx20fTlkvxM6Te7P6QDy9MQZYuGsLdGvbrzg0uYR1rTMDuHseYR7XQ8ZwGHI/h7c VLMyKip21SFqlW7FjOSGN5mxohUJsUnob8k+Y+hvufgN+lhknsI9LfO3hQY7TbPzdz 6SFGEO0AeOEMCYyH3H2taa15ZyJXqnP2Dgoyvl+s= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Takashi Iwai , Sasha Levin Subject: [PATCH 6.13 283/623] ALSA: seq: Make dependency on UMP clearer Date: Wed, 5 Feb 2025 14:40:25 +0100 Message-ID: <20250205134507.058484423@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250205134456.221272033@linuxfoundation.org> References: <20250205134456.221272033@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takashi Iwai [ 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@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/core/seq/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5