From patchwork Sun Jan 8 11:43:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajye Huang X-Patchwork-Id: 13092480 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6065BC54EBE for ; Sun, 8 Jan 2023 11:45:03 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0F0D5C678; Sun, 8 Jan 2023 12:44:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0F0D5C678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673178301; bh=Cs2DxQdTvtt/co+pTJ4Kj/b3UwuYx8JSmr0ljLbQVEk=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=SDsPUVCWnJDt9934dXeoBebYhZnU/OXNZwLxNYvnc6Ag0ZHiA7M/nmi+T/s4dTu0z 56gN71UipXqpEaMIywDn1OIH/5nxC/2Ti5MR2ovTvgPw01KOznLI+3MT19g5dsE6yK ZwW/kM7wXvlNPil5KM1+CI6FxYMAexL2IE+RG/uY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B8390F804BD; Sun, 8 Jan 2023 12:44:10 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8C68AF804C1; Sun, 8 Jan 2023 12:44:08 +0100 (CET) Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F2D86F80236 for ; Sun, 8 Jan 2023 12:44:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F2D86F80236 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=compal-corp-partner-google-com.20210112.gappssmtp.com header.i=@compal-corp-partner-google-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=JZNPMaVe Received: by mail-pl1-x62f.google.com with SMTP id v23so1616371plo.1 for ; Sun, 08 Jan 2023 03:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=compal-corp-partner-google-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=K9nsM9ze7/IVAFeNx2iL5lzz62WyvKhiLwvesPkswPc=; b=JZNPMaVecw2wAD9otYPnQHFnTEF+Tu1oNbEjp5STAi+ECzfPFA8tIGA1EaSGNqEFrN q99Ew5DTqSFV+jxLC3M0ei6NrX7va83Dl5iMGSsI2y7CRsF9HRFz1yjOD6rUi2VVACUm +lha5iN9Gy5GpL/Orqm0pYrc3I/xgNghbMUdB4UhvbH1zjeCwwJQqeKAlQvTePXNYF8E OLQ1ArR9wP6GVMf8VAAirh5vi4NxEnIdFGll43fgy/tKoMSvOu7ySrizB65Zz/5xTSUz px2pPVv0AaRBhv+eEV4VoPXXz6fFjs0JHWI4d1Fkg+SZ4tt+hcdLQuEW3jSSvz26IkWo pgzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K9nsM9ze7/IVAFeNx2iL5lzz62WyvKhiLwvesPkswPc=; b=oSNp9ZXt3EEYX3H28BzYsRhtDhp5c+oiM+4Rsh9W839YlT5X2ft09/jNEr0CvHVc+G mqeG1WFLQZ7iGXlbEwvnkO/X+SUKFiSXl9tG4H+E8WjgQBwKK5gQGHyyy8oiGK0Gqp6H Baw473rEwD2Ro2s7joh++QV4maiozcjV0pttuLiXXmfKJ3knN6Kgh9WQCiuqCb/+hrPz qUr4SOWbSrG77NffkMqALHNJQhkK4dBmF0jc31SxiR6ZGICCN5CkR956/sUHq9Rfxv7m f0OmZwK4L3LG6zHYUd/abq/16CrWw2590xJM3RXMxU7ICzNoBe5riFryHnMb6QJCJSfF srFQ== X-Gm-Message-State: AFqh2krK8rOsZ21LRtWPXsEM8qdeVUZE1iEOYY7SYaj+NXYpXlxcF8Hi WWBZSV5Df0VRosDU7iajrhGBGw== X-Google-Smtp-Source: AMrXdXsNwzNBN2wYlF9q0MVzJwVapvLJ3KcrR9ulqvMDas5TSQuWTmnHqjbmnPNZCS5CFVDxoRNluw== X-Received: by 2002:a17:90b:310f:b0:226:876c:4c57 with SMTP id gc15-20020a17090b310f00b00226876c4c57mr20464874pjb.39.1673178239277; Sun, 08 Jan 2023 03:43:59 -0800 (PST) Received: from localhost.localdomain (36-226-16-237.dynamic-ip.hinet.net. [36.226.16.237]) by smtp.gmail.com with ESMTPSA id j23-20020a17090a061700b002262fcd92desm5621521pjj.7.2023.01.08.03.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 03:43:58 -0800 (PST) From: Ajye Huang To: linux-kernel@vger.kernel.org Subject: [PATCH v1] ASoC: nau8315: remove dependency on GPIOLIB Date: Sun, 8 Jan 2023 19:43:51 +0800 Message-Id: <20230108114351.539786-1-ajye_huang@compal.corp-partner.google.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , Terry Cheong , Cezary Rojewski , Ajye Huang , Charles Keepax , kernel test robot , Lucas Tanure , Takashi Iwai , Pierre-Louis Bossart , Liam Girdwood , Mark Brown , David Lin , amadeuszx.slawinski@linux.intel.com, Linux Patches Robot , Ryan Lee , alsa-devel@alsa-project.org, Sean Paul , Brent Lu Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" commit dcc2c012c7691 ("ASoC: Fix gpiolib dependencies") removed a series of unnecessary dependencies on GPIOLIB when the gpio was optional. A similar simplification seems valid for nau8315, so remove the dependency as well. This will avoid the following warning WARNING: unmet direct dependencies detected for SND_SOC_NAU8315 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n] Selected by [y]: - SND_SOC_INTEL_SOF_NAU8825_MACH [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_INTEL_MACH [=y] && (SND_SOC_SOF_HDA_LINK [=y] || SND_SOC_SOF_BAYTRAIL [=n]) && I2C [=y] && ACPI [=y] && SND_HDA_CODEC_HDMI [=y] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y] && (MFD_INTEL_LPSS [=n] || COMPILE_TEST [=y]) Reported-by: kernel test robot Signed-off-by: Ajye Huang --- sound/soc/codecs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index bbd401e52be1..e165addec25f 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1863,7 +1863,6 @@ config SND_SOC_MT6660 config SND_SOC_NAU8315 tristate "Nuvoton Technology Corporation NAU8315 CODEC" - depends on GPIOLIB config SND_SOC_NAU8540 tristate "Nuvoton Technology Corporation NAU85L40 CODEC"