Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2093474lqe; Tue, 9 Apr 2024 09:18:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhm2JSYc+braF2MF3VVmEuk32SUCoj61BIYo+iqI7MUrCZZwd/zyqzcHUl+eBXPspHQuUqPsxYQZEAnUuuRJcTiVdIxPaypAK0gGpqCA== X-Google-Smtp-Source: AGHT+IF6dG28WekYe2JRl2CukYpTx58NPcVXLx2AOuTYk0Ty8OtXjPkadZmWIuDD105sRxt5y+0O X-Received: by 2002:a17:903:234b:b0:1e2:97f1:87eb with SMTP id c11-20020a170903234b00b001e297f187ebmr306727plh.34.1712679501031; Tue, 09 Apr 2024 09:18:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712679501; cv=pass; d=google.com; s=arc-20160816; b=rKeNokN8DWot3GmHQT2pr5O3lSLhEW1WKZWg+1XmTDcXE5Qv9vdXc5JbX9tvID7HBC Vm974AGYqMkjkwnkVvVcscsTTCCSDK5Z7qotByPtQy8BzAkDD2ON8seN1eDRTVPP7Ng0 59/qy14dVpsQhZrGRqr1LXk5xN1ywAKy25C/pt0drXnfne/sv1d1ETnMcdweNHY/V2j/ Y9y6O3fUoH6lyvlAot0bU3hPMRFd72zrlHobvsql/xroA03BKh3CJKNvVQtwNku1X2Y8 r8caoqXRAGaxcjaAewFIjEqT6vZxRnFov4OJnLsyeaGWqyLqwOy5qkBv6MRd2h8foZs3 BsBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=ZwX5c6PAzZs/vu2neiYe0L/jjVtfovK03Qx5iGGV/5A=; fh=yUV5mi45gWuu+ivzoXWDDRgRy3vN/8yk0BabZGxIci8=; b=rxfd6u/rlJmVcPupwguQIXhFyaipx7vEwINAyU4w5C9yqJwjHUcQIhMZLNZ+4pmDJ9 Fonh6QHSWA2puSHnS9jQkE284scOU72vQwNmmDXmqpZBaRKDhnzmLXaY1Ms9yu9aLFfD DbgQe6Vyo9Y06jSFGhUgqxqmyqF2bcsp6I8z7JWz4pnk5U9uli+ZyUfIlgJUefCRZVS8 KzzdxXsvq8OGUI06Tjg4hNagpm6CxamZ3fYOW/vowQxlwJ3FLalwp/PHu5tN5y/4qMM5 ef6jB8I5UEno0gay8HMZyLE3ilQwARK/DjR8RhR7UMlP0q7oA7f/U/+N+yFTRSUlPmy6 VhtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-137239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137239-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k9-20020a170902c40900b001e1a509b1a0si8903470plk.225.2024.04.09.09.18.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 09:18:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-137239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137239-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2D65CB353F6 for ; Tue, 9 Apr 2024 15:37:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7F0013C91F; Tue, 9 Apr 2024 15:35:08 +0000 (UTC) Received: from michel.telenet-ops.be (michel.telenet-ops.be [195.130.137.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D9AA134CE3 for ; Tue, 9 Apr 2024 15:35:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.88 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676908; cv=none; b=OCXgf4ihm3+guQNAYEX6FCOGyuDvt5uNWtXpYPJVla8zHJY/SS9B7DtslIV0V4w1sNp70TPhCNyukyQ+1+mVhfmiDcCBJ0vH6d8w8LpsqKe3XxVv/TAbRhc98wH21J9+pPuNtHoQy/TG/F0TqvTjp0nhJL8pFvhBexy/EcpjcDY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676908; c=relaxed/simple; bh=wNrvvdLbU4lLzGHZBqQGhLKSFbuEYhN2gytfUcj5Leo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=q2uRrtjf2ekzyOX0RT74JSyF9sjPsFWOCW5hcnjSyZt0tlITy5eCvXFIWU3pzRuwI8mKWuMSGr2gsMNaRNg3H0+EFVh4+US1vhCiBnYwy4Tqzj3VuYo14p/vxIvsrvA5NHK64oxzqcexUGerfVomMsL28XdXPtBpz8rIYYc+wSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:76d0:2bff:fec8:549]) by michel.telenet-ops.be with bizsmtp id 93ax2C00N0SSLxL063axyq; Tue, 09 Apr 2024 17:34:57 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1ruDUP-00DtrG-Nr; Tue, 09 Apr 2024 17:34:57 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1ruDUv-003kJW-8g; Tue, 09 Apr 2024 17:34:57 +0200 From: Geert Uytterhoeven To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Luca Ceresoli Cc: linux-sound@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] ASoC: codecs: Rockchip on-SoC codecs should depend on ARCH_ROCKCHIP Date: Tue, 9 Apr 2024 17:34:56 +0200 Message-Id: <6cdbaf4afcf4d2059b257f6cb3a8a61bf5e17688.1712676714.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The various Rockchip embedded audio codecs are only present on Rockchip SoCs. Hence add dependencies on ARCH_ROCKCHIP, to prevent asking the user about these drivers when configuring a kernel without Rockchip SoC support. Signed-off-by: Geert Uytterhoeven --- sound/soc/codecs/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 4e47bb6850aac5b9..995eab954dd5db41 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1173,6 +1173,7 @@ config SND_SOC_IDT821034 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" + depends on ARCH_ROCKCHIP || COMPILE_TEST select REGMAP_MMIO config SND_SOC_ISABELLE @@ -1437,6 +1438,7 @@ config SND_SOC_PEB2466 config SND_SOC_RK3308 tristate "Rockchip RK3308 audio CODEC" depends on ARM64 || COMPILE_TEST + depends on ARCH_ROCKCHIP || COMPILE_TEST select REGMAP_MMIO help This is a device driver for the audio codec embedded in the @@ -1447,6 +1449,7 @@ config SND_SOC_RK3308 config SND_SOC_RK3328 tristate "Rockchip RK3328 audio CODEC" + depends on ARCH_ROCKCHIP || COMPILE_TEST select REGMAP_MMIO config SND_SOC_RK817 -- 2.34.1