OSDN Git Service

ASoC: Intel: Fix nested/unnecessary Kconfig dependencies
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 4 Jan 2018 22:35:56 +0000 (16:35 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 16:19:53 +0000 (16:19 +0000)
commitf3f2bb7a0ebf9d83229810f69a53fee2c0441b2c
tree5fa8fab618876392264a84b98df65b214cd7cde9
parentdef2c4284fd6b3402265ee050d769897e3331521
ASoC: Intel: Fix nested/unnecessary Kconfig dependencies

This patch fixes a number of issues:
1. IOSF_MBI is only needed for byt-cr detection, which is only supported
on Baytrail/Cherrytrail, move to HiFi2 config

2. SND_SOC_INTEL_SST should not select SND_SOC_INTEL_SST_ACPI, the latter
config is only valid for Haswell/Baytrail legacy but not needed by Skylake

3. SND_SST_IPC_ACPI, used only by the atom/sst driver, should not select
SND_SOC_INTEL_SST, none of the code under common/sst*.c is used

This nesting of configs really makes no sense, it's easier to maintain
if for each platform one can control what is strictly required.

Compiled-tested with each of Haswell, Baytrail legacy, HiFi2, SKL cases
selected independently. 0-day and explicit randconfig tests did not report
additional issues and no functionality loss was observed in Intel tests on
HIFI2 and SKYLAKE platforms

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig