]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1015p: remove dependency on GPIOLIB
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 17 May 2022 17:26:47 +0000 (12:26 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 19 May 2022 15:44:23 +0000 (16:44 +0100)
commit8870479d85ff75256cd8ff6e4e8d97a99498ae1b
treec50ebaaba85fa06daeb54e480bcc894e47545e4c
parentd805f09202e9608bcc47a3e80142d04d8d15a201
ASoC: rt1015p: remove dependency on GPIOLIB

commit aade78eea634e ("ASoC: Fix gpiolib dependencies") removed a
series of unnecessary dependencies on GPIOLIB when the gpio was
optional.

A similar simplification seems valid for rt1015p, so remove the
dependency as well. This will avoid the following warning

  WARNING: unmet direct dependencies detected for SND_SOC_RT1015P

     Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] &&
     GPIOLIB [=n]

     Selected by [y]:

     - SND_SOC_INTEL_SOF_RT5682_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 [=y] ||
       COMPILE_TEST [=y]) || SND_SOC_SOF_BAYTRAIL [=n] &&
       (X86_INTEL_LPSS [=n] || COMPILE_TEST [=y]))

Reported-by: kernel test robot <yujie.liu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220517172647.468244-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig