Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp296338pxb; Thu, 9 Sep 2021 00:49:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5B9mo7dE/uDZoKE929KX1jNpk81GNRyCSXdh1GxWK7M1B0+QfGL822QsDUsx4HCRMmgLl X-Received: by 2002:a92:d18c:: with SMTP id z12mr1426592ilz.59.1631173755880; Thu, 09 Sep 2021 00:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631173755; cv=none; d=google.com; s=arc-20160816; b=Y9EeIO8i6iIqxXrp1Of+vYVukmEUY3m2hH+3dfy6w4QUqGl0E6mEZ6jeEnMB3gJ1L+ kdtbk91brMmnV3uEWl3+Ge6uDbqW3GgB0YH+J0ztUL+2Qlsz3VpPMYrhxPFdRjVNfHJ7 NTMJUyw7lM4jotrwD67/ZsKwuL26bTEtZKqRE3U+MzlOizmPXw8HP0OlRpS9Zxx/Efzu TPkz2IhRChr6oMxxXl3cdBtpoP268tQ81yYNIrZxnb1lvCqiqPJkESjCuPDgzt7olwTI J7QvfPHGBf3d9gZ1xmX5IuXq/mmvocVClPshTKHC0zJZzrvDMqbdDDCz9sejYu42Mp6t vd8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=NPRYjZ94o/8hIWhXKauMUUY/qQVq3igwQcZWadr8GJU=; b=jZZSCbas3dGLfLjix/6a8C/gf+rAjv5g8E0fazgUM3uwjfOwkC3CSP74pq2KEOpsY3 uVCWPzpzfVeDeuaES2/SRARqMUGG9i4r5VEtuOyCgtCW3zLjYtrdO5cbktUxYPolVeoP HIeaRJyHM5neVbkndmAXgPY2rT7lLCkI7Olzo6YEvfBJtyhWdZPwlLkq/YI5qX/Rh5GK MbTNrARoCp4s+z701s/bU1bKGcV56tDDNV1/Kw9x/S3APhAsOo5Qp2W9wDg7Ik8sRMWs EgioIcvbM3PhqTuuUQFhDMHCgv8J6engPq1aXpfjioU5BHzJVODPqFyJ4Zjbv/CelsR4 qF0Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j12si1277939ils.66.2021.09.09.00.49.04; Thu, 09 Sep 2021 00:49:15 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343946AbhIIG4s (ORCPT + 99 others); Thu, 9 Sep 2021 02:56:48 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34364 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231176AbhIIG4r (ORCPT ); Thu, 9 Sep 2021 02:56:47 -0400 X-UUID: b2aad2fe9f79486eacd995cca291d26e-20210909 X-UUID: b2aad2fe9f79486eacd995cca291d26e-20210909 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1896985547; Thu, 09 Sep 2021 14:55:36 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 9 Sep 2021 14:55:35 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 9 Sep 2021 14:55:35 +0800 From: Trevor Wu To: , , CC: , , , , , , , , , , Subject: [PATCH] ASoC: mediatek: add required config dependency Date: Thu, 9 Sep 2021 14:55:33 +0800 Message-ID: <20210909065533.2114-1-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Because SND_SOC_MT8195 depends on COMPILE_TEST, it's possible to build MT8195 driver in many different config combinations. Add all dependent config for SND_SOC_MT8195 in case some errors happen when COMPILE_TEST is enabled. Signed-off-by: Trevor Wu Reported-by: Randy Dunlap --- sound/soc/mediatek/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index 5a2f4667d50b..81ad2dcee9eb 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config SND_SOC_MEDIATEK tristate + select REGMAP_MMIO config SND_SOC_MT2701 tristate "ASoC support for Mediatek MT2701 chip" @@ -188,7 +189,9 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682 config SND_SOC_MT8195 tristate "ASoC support for Mediatek MT8195 chip" depends on ARCH_MEDIATEK || COMPILE_TEST + depends on COMMON_CLK select SND_SOC_MEDIATEK + select MFD_SYSCON if SND_SOC_MT6359 help This adds ASoC platform driver support for Mediatek MT8195 chip that can be used with other codecs. -- 2.18.0