Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4480989pxb; Tue, 31 Aug 2021 06:20:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztd+2fbFBpniUnaoHVsqARTZJ33GFLLI2e9xgMP21txIOXT9UyqtTzxdLC50YxANTK32kW X-Received: by 2002:a05:6638:13d6:: with SMTP id i22mr2841355jaj.13.1630416028884; Tue, 31 Aug 2021 06:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630416028; cv=none; d=google.com; s=arc-20160816; b=WALBjy9ipGVrI3oCHtDHofCiB08baJLaBcGVfAvCwSo4OMRsYq7p8x6XjzqL/vDrt+ xElshGDqz1OCSATCYYPnyYY08UTIAs36RTZqKh90OvsPFEpM1vT/ecB95qlOLRaSvtCL W3oBuIZ23Ws0Np+cATM5eS+yUJJbGifev4LKfeWMCGX2D3UbygPW6J5wkc2OMiySkqEm 2OJSvy9Eo7fXAmkVsr/dKp9eI76AdY4qYuqS9kQDV2523+bq78wAaKDGRuzYw4hOQqRH A5/Tzq0TAaUj5qcnusfHUvHWmJtW41WpmUofsM++WPO5W3m5XLB1pzQFbLQ+CnuQWEK/ /WYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=CYO5b+533GPfzQXw45be8X7Xw0Q+XxahuNVFQQap968=; b=hiByEfgJYGZhX6EpMrKrxoRLVR7/gfBaDWb80WwUEurdKIN3D0Tzl/18DaBbZljRpR L3ZaC/Usbee+N0CPPH63xSnHq76q/3IRfgZ7KlbLIQwbttpyfaCPyu+Ri6BH1uoeAQzv vj9HG4larMZJUfQpWma/OAbFchmwXRDAhHhLiM+a4b1D4Jj1VDXnAcN4LapNmo8nS+Ng f44qKDZepLAUhzlnpLtNL8HcSHgqFFo3nHy4jA5pk/DlTHTUQALlhSsfAUhdPPeOmMEU MfVzmKIgo8vCM5k/ETynTWfc30wbEEruClSgskjpO7a5CVDcLfSecU4Ucp6rzaKt2QEn 45cA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si10709565jac.120.2021.08.31.06.20.15; Tue, 31 Aug 2021 06:20:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233575AbhHaNT6 (ORCPT + 99 others); Tue, 31 Aug 2021 09:19:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhHaNT5 (ORCPT ); Tue, 31 Aug 2021 09:19:57 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EA7AC061575 for ; Tue, 31 Aug 2021 06:19:02 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:2193:279a:893d:20ae]) by xavier.telenet-ops.be with bizsmtp id oDJx250061ZidPp01DJx8i; Tue, 31 Aug 2021 15:19:00 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mL3fE-000rnQ-OW; Tue, 31 Aug 2021 15:18:56 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mL3fE-000hSM-B9; Tue, 31 Aug 2021 15:18:56 +0200 From: Geert Uytterhoeven To: Liam Girdwood , Mark Brown , Trevor Wu Cc: Matthias Brugger , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] ASoC: mediatek: SND_SOC_MT8195 should depend on ARCH_MEDIATEK Date: Tue, 31 Aug 2021 15:18:54 +0200 Message-Id: <7e628e359bde04ceb9ddd74a45931059b4a4623c.1630415860.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Mediatek MT8195 sound hardware is only present on Mediatek MT8195 SoCs. Hence add a dependency on ARCH_MEDIATEK, to prevent asking the user about this driver when configuring a kernel without Mediatek SoC support. Fixes: 6746cc858259985a ("ASoC: mediatek: mt8195: add platform driver") Signed-off-by: Geert Uytterhoeven --- sound/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index cf567a89f421b4c0..c8c815f599da90bf 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -187,6 +187,7 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682 config SND_SOC_MT8195 tristate "ASoC support for Mediatek MT8195 chip" + depends on ARCH_MEDIATEK || COMPILE_TEST select SND_SOC_MEDIATEK help This adds ASoC platform driver support for Mediatek MT8195 chip -- 2.25.1