ASoC: Intel: Skylake: Compile when any configuration is selected
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 25 Jan 2021 11:54:41 +0000 (12:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 07:50:29 +0000 (09:50 +0200)
commit4ebb3b797a6369ae329e2aed64c5edbe3375dde9
treece434c549fe14952ac75f957b098f3667ca53a2f
parent5fb733e250c0a2ab55e06400560f3ab998922545
ASoC: Intel: Skylake: Compile when any configuration is selected

[ Upstream commit 1b99d50b9709a2cddaba4a7faf1862b4f7bec865 ]

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>
Link: https://lore.kernel.org/r/20210125115441.10383-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/Makefile
sound/soc/intel/skylake/Makefile