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 270C51519AA; Wed, 5 Feb 2025 14:07:20 +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=1738764440; cv=none; b=K/gciVaqVjL11LXehQ0JmLLCwcKC3GVyrrhYMcwBNP+zwWaFpJew/4y3pPtrq9QH4gE6mzmNHy+XD/Zmu5DloJZMGUrG4W/X6ivxLWtt3ehB0d0NbPjW2wMuMtM3ERAkRigmNKwQwUeHWB3WMSbjTIAGV+jgDQxJZmvVvGicEpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738764440; c=relaxed/simple; bh=Efjx2LtAPohd3RktqDwmKsejGrhAjmEt4tY23VzoVw4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=J1Gw85nARUDLIzQNDOkjgUeYwBDR7WZoUqU2ILp3P6PAQ9Ty53PN1Cff7dpnQNwZCkCPIHSHxzimj48fCz1uQEOjmh7pKhbFEAukxsqJPtHc1c2K5AQ94pFDPN6BZ9SB9xWvHTw+J+GofIFr0PtWbXl7/yEbgcDztLPYyYi7vMQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FRa9cs3Y; 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="FRa9cs3Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86D5FC4CED1; Wed, 5 Feb 2025 14:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1738764440; bh=Efjx2LtAPohd3RktqDwmKsejGrhAjmEt4tY23VzoVw4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FRa9cs3YBYvzR6j3TzE1n4IafrR6AJzOkS34gDPUjn0WEU31bkIK3ClUc6UHuVyFb 5y8aOFHvC5e64yBZioMXtoBg5yChxyfDqJZpSJvDDooHKp7aKbLp1RhIT5hHj9D32j XqQLcNc44fnuRQHnyAZM4ZOZUOG9UNUBDij4TzDw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Takashi Iwai , Sasha Levin Subject: [PATCH 6.6 172/393] ALSA: seq: Make dependency on UMP clearer Date: Wed, 5 Feb 2025 14:41:31 +0100 Message-ID: <20250205134426.875413064@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250205134420.279368572@linuxfoundation.org> References: <20250205134420.279368572@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.6-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