From: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
To: linux-kernel@vger.kernel.org
Cc: Mark Brown <broonie@kernel.org>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Sean Paul <sean@poorly.run>, Terry Cheong <htcheong@chromium.org>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Sasha Levin <sashal@kernel.org>,
Lucas Tanure <tanureal@opensource.cirrus.com>,
Cezary Rojewski <cezary.rojewski@intel.com>,
Ryan Lee <ryan.lee.analog@gmail.com>,
Charles Keepax <ckeepax@opensource.cirrus.com>,
Jaroslav Kysela <perex@perex.cz>, David Lin <CTLIN0@nuvoton.com>,
Brent Lu <brent.lu@intel.com>, Takashi Iwai <tiwai@suse.com>,
Linux Patches Robot
<linux-patches-robot@chromeos-missing-patches.google.com.iam.gserviceaccount.com>,
amadeuszx.slawinski@linux.intel.com, alsa-devel@alsa-project.org,
Ajye Huang <ajye_huang@compal.corp-partner.google.com>,
kernel test robot <lkp@intel.com>
Subject: [PATCH v1] ASoC: nau8315: remove dependency on GPIOLIB
Date: Sun, 8 Jan 2023 19:43:51 +0800 [thread overview]
Message-ID: <20230108114351.539786-1-ajye_huang@compal.corp-partner.google.com> (raw)
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 <lkp@intel.com>
Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
---
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"
--
2.25.1
next reply other threads:[~2023-01-08 11:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-08 11:43 Ajye Huang [this message]
2023-01-09 16:49 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230108114351.539786-1-ajye_huang@compal.corp-partner.google.com \
--to=ajye_huang@compal.corp-partner.google.com \
--cc=CTLIN0@nuvoton.com \
--cc=alsa-devel@alsa-project.org \
--cc=amadeuszx.slawinski@linux.intel.com \
--cc=brent.lu@intel.com \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=ckeepax@opensource.cirrus.com \
--cc=htcheong@chromium.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-patches-robot@chromeos-missing-patches.google.com.iam.gserviceaccount.com \
--cc=lkp@intel.com \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=ryan.lee.analog@gmail.com \
--cc=sashal@kernel.org \
--cc=sean@poorly.run \
--cc=tanureal@opensource.cirrus.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®