diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2016-09-03 12:23:26 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-03 15:29:44 -0400 |
commit | 94ae3ce189c75e7d74753b0e1d3e855786514f03 (patch) | |
tree | e99aec71d2642ce1dcf9992afaedc5ea12448b95 /sound | |
parent | 0fd67cee29cef1942865bd4375b8a7e5d98343ad (diff) |
ASoC: Intel: Atom: fix IOSF_MBI dependency
fix issue reported by 0-Day with randconfig
The commit a68bc0d43e1b
("ASoC: Intel: Atom: auto-detection of Baytrail-CR")
added a dependency on IOSF_MBI. The code used the IS_ENABLED macro
to check for this dependency but this is not enough in case the SST
driver is built-in. This could be fixed with IS_REACHABLE but
Baytrail-CR would not be detected depending on combinations of options
Add dependency in Kconfig to solve this for good
Reported-by: 0 day tester <fengguang.wu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/intel/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index a20c3dfbcb5d..fc6e78050a79 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig | |||
@@ -25,6 +25,7 @@ config SND_SST_IPC_ACPI | |||
25 | tristate | 25 | tristate |
26 | select SND_SST_IPC | 26 | select SND_SST_IPC |
27 | select SND_SOC_INTEL_SST | 27 | select SND_SOC_INTEL_SST |
28 | select IOSF_MBI | ||
28 | 29 | ||
29 | config SND_SOC_INTEL_SST | 30 | config SND_SOC_INTEL_SST |
30 | tristate | 31 | tristate |