All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: Skylake: Compile when any configuration is selected
@ 2021-01-25 11:54 Cezary Rojewski
  2021-01-27  8:03 ` Kai-Heng Feng
  2021-03-01 23:34 ` Mark Brown
  0 siblings, 2 replies; 13+ messages in thread
From: Cezary Rojewski @ 2021-01-25 11:54 UTC (permalink / raw)
  To: alsa-devel
  Cc: kai.heng.feng, pierre-louis.bossart, Cezary Rojewski, tiwai,
	lgirdwood, hdegoede, broonie, amadeuszx.slawinski

Skylake is dependent on SND_SOC_INTEL_SKYLAKE (aka "all SST platforms")
whereas selecting specific configuration such as KBL-only will not
cause driver code to compile. Switch to SND_SOC_INTEL_SKYLAKE_COMMON
dependency so selecting any configuration causes the driver to be built.

Reported-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Suggested-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fixes: 35bc99aaa1a3 ("ASoC: Intel: Skylake: Add more platform granularity")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 sound/soc/intel/Makefile         | 2 +-
 sound/soc/intel/skylake/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile
index 4e0248d2accc..7c5038803be7 100644
--- a/sound/soc/intel/Makefile
+++ b/sound/soc/intel/Makefile
@@ -5,7 +5,7 @@ obj-$(CONFIG_SND_SOC) += common/
 # Platform Support
 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/
 obj-$(CONFIG_SND_SOC_INTEL_CATPT) += catpt/
-obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += skylake/
+obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON) += skylake/
 obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/
 
 # Machine support
diff --git a/sound/soc/intel/skylake/Makefile b/sound/soc/intel/skylake/Makefile
index dd39149b89b1..1c4649bccec5 100644
--- a/sound/soc/intel/skylake/Makefile
+++ b/sound/soc/intel/skylake/Makefile
@@ -7,7 +7,7 @@ ifdef CONFIG_DEBUG_FS
   snd-soc-skl-objs += skl-debug.o
 endif
 
-obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += snd-soc-skl.o
+obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON) += snd-soc-skl.o
 
 #Skylake Clock device support
 snd-soc-skl-ssp-clk-objs := skl-ssp-clk.o
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-03-08  2:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 11:54 [PATCH] ASoC: Intel: Skylake: Compile when any configuration is selected Cezary Rojewski
2021-01-27  8:03 ` Kai-Heng Feng
2021-01-27 15:22   ` Cezary Rojewski
2021-02-02  5:52     ` Kai-Heng Feng
2021-02-02 10:12       ` Cezary Rojewski
2021-02-02 10:56         ` Cezary Rojewski
2021-02-02 12:41           ` Kai-Heng Feng
2021-02-07 14:49             ` Cezary Rojewski
2021-02-15 15:43               ` Cezary Rojewski
2021-02-22 15:04                 ` Kai-Heng Feng
2021-03-01 12:37                   ` Cezary Rojewski
2021-03-08  2:52                     ` Kai-Heng Feng
2021-03-01 23:34 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.