ASoC: sound/soc/sof/: fix kconfig dependency warning
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 6 May 2019 19:01:40 +0000 (12:01 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 7 May 2019 02:23:13 +0000 (11:23 +0900)
Fix kconfig warning for unmet dependency for IOSF_MBI when
PCI is not set/enabled.  Fixes this warning:

WARNING: unmet direct dependencies detected for IOSF_MBI
  Depends on [n]: PCI [=n]
  Selected by [y]:
  - SND_SOC_SOF_ACPI [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_SOF_TOPLEVEL [=y] && (ACPI [=y] || COMPILE_TEST [=n]) && X86 [=y]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Kconfig

index a1a9ffe605dc66fd5eec615a7c18ef1b821f29da..b204c65698f9f71e73d2f107c851b0602b64724d 100644 (file)
@@ -28,7 +28,7 @@ config SND_SOC_SOF_ACPI
        select SND_SOC_ACPI if ACPI
        select SND_SOC_SOF_OPTIONS
        select SND_SOC_SOF_INTEL_ACPI if SND_SOC_SOF_INTEL_TOPLEVEL
-       select IOSF_MBI if X86
+       select IOSF_MBI if X86 && PCI
        help
          This adds support for ACPI enumeration. This option is required
          to enable Intel Haswell/Broadwell/Baytrail/Cherrytrail devices