ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 2 Aug 2021 15:16:28 +0000 (10:16 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 3 Aug 2021 00:44:58 +0000 (01:44 +0100)
commit6b994c554ebc4c065427f510db333081cbd7228d
tree485799cdfea5da93a95fe30e22043c44871a616d
parent8b5d95313b6d30f642e4ed0125891984c446604e
ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies

The previous Kconfig cleanup added simplifications but also introduced
a new one by moving a boolean to a tristate. This leads to randconfig
problems.

This patch moves the select operations in the SOUNDWIRE_LINK_BASELINE
option. The INTEL_SOUNDWIRE config remains a tristate for backwards
compatibility with older configurations but is essentially an on/off
switch.

Fixes: cf5807f5f814f ('ASoC: SOF: Intel: SoundWire: simplify Kconfig')
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210802151628.15291-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/Kconfig