]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: Intel: Fix Kconfig with top-level selector
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 4 Jan 2018 22:35:53 +0000 (16:35 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 16:18:48 +0000 (16:18 +0000)
commitc6059879be298cccda52f77bf019a7a99eb13e78
tree34aed9bc752732820e3333553ca2bb5c3cfa8d12
parentea39bdcf22b084c6e6db0078f3140f0655a1e572
ASoC: Intel: Fix Kconfig with top-level selector

Follow network example suggested by Linus, move Intel definitions
in if/endif block and clarify in help text which options distro
configurations should enable - everything except legacy Baytrail stuff and
NOCODEC (test only)

To avoid user confusion, machine drivers are handled with a submenu made
dependent on this top-level selector.

There should be no functionality change - except that sound capabilities
are restored when using older configs without any user selection.

Note that the SND_SOC_ACPI_INTEL_MATCH config is currently filtered
out by the top-level selector. This will change in the near future to
allow for this option to be selected by both SST and SOF drivers

(simplification with submenu for machine drivers by Vinod Koul)

Fixes: f6a118a800e3 ("ASoC: Intel: clarify Kconfig dependencies")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig
sound/soc/intel/Makefile
sound/soc/intel/boards/Kconfig