Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4104506pxb; Mon, 30 Aug 2021 19:15:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfzCrA8its2Uong78CUmB6PfhYJlz3a/g66VKXKjrf1R2o5TC/ulvVnsaFgPm56hHQGZrB X-Received: by 2002:a17:907:169f:: with SMTP id hc31mr27670796ejc.328.1630376102010; Mon, 30 Aug 2021 19:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630376102; cv=none; d=google.com; s=arc-20160816; b=tWm43FfHQLWbKfRcbbcvCR+pKXIRsEjQv0JtLvwzrX0kZ4EDP0QLV5hvNjwJWaMEPT TLiaiiY05/sxT05aN6/vCen1xdFpfcq2UT6E4ghM+tJo7iCgeHGNMZw5Jdbq4YkkHnUs Y2yl+xV186yjx40wVaO5/uLPmXvZLp/oBZzSu7jl0D/mOgsM//9gdwHBFE+95589QEPe LlPRBz8LI1/Y2HNo+Lrc7HeElg0vCGLuQYPVSD8Xsr3Ucw4tsUJlmntncCm5XDvsK2+9 vGLJCh0xLnUGYClH4XNviABFPGvRqxheN7G1GlbiQfehdqO7ZggiKpNCZAETSy+Sv27i 6Fug== 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=jjnNgUn+C+Lvx0F7ol1tFcIkgNX5a4fJHoy72pCuHJY=; b=VjwwI8X2PGxE3twsk4TsaaF6KG0SoBIEMlyQfGf/Lu+DkiruPnKR3gyk0d+NF+ApOu 9ibrdtnlD2haj4FRigTQK5JZu+5m/A3yk06Sxzjt3uM+p80Iwl8MAyQ3CjL1fejo/ujG 5WiKLFxfvU/tyA0+qucp+OS+O5h/cRQxRIBOMdWLg6Y2oQ8619z+xIUjhBZmoOhp3qq3 xgMZny4XGGRlexayYLI876qJPKvouVQUYNuFXlu9T8G25biYlTcEfIyoVwYKj6vubXzh 0POi3S8SDV47AloEBevo5F/0379u0R0ibW/Ijw8MVzX7F4jW7+Qj0//x2RD6kmj1SlrM tLwg== 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 b16si15947495edy.546.2021.08.30.19.14.35; Mon, 30 Aug 2021 19:15:01 -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 S239319AbhHaCOH (ORCPT + 99 others); Mon, 30 Aug 2021 22:14:07 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:57400 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232187AbhHaCOF (ORCPT ); Mon, 30 Aug 2021 22:14:05 -0400 X-UUID: 3f280662e116443f8dd930cc8ed8483b-20210831 X-UUID: 3f280662e116443f8dd930cc8ed8483b-20210831 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1713881088; Tue, 31 Aug 2021 10:13:06 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 31 Aug 2021 10:13:05 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 31 Aug 2021 10:13:05 +0800 From: Trevor Wu To: , , CC: , , , , , Subject: [PATCH] ASoC: mediatek: mt8195: add MTK_PMIC_WRAP dependency Date: Tue, 31 Aug 2021 10:13:03 +0800 Message-ID: <20210831021303.5230-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 randconfig builds show the warning below, WARNING: unmet direct dependencies detected for SND_SOC_MT6359 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && MTK_PMIC_WRAP [=n] Selected by [y]: - SND_SOC_MT8195_MT6359_RT1019_RT5682 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] && SND_SOC_MT8195 [=y] Add a dependency to avoid it. Signed-off-by: Trevor Wu Reported-by: Randy Dunlap --- sound/soc/mediatek/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index cf567a89f421..f6bf0f9c91e3 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -197,7 +197,7 @@ config SND_SOC_MT8195 config SND_SOC_MT8195_MT6359_RT1019_RT5682 tristate "ASoC Audio driver for MT8195 with MT6359 RT1019 RT5682 codec" depends on I2C - depends on SND_SOC_MT8195 + depends on SND_SOC_MT8195 && MTK_PMIC_WRAP select SND_SOC_MT6359 select SND_SOC_RT1015P select SND_SOC_RT5682_I2C -- 2.18.0