diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-07-18 18:02:15 -0500 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-09 10:20:40 +0530 |
commit | 8676b3ca4673517650fd509d7fa586aff87b3c28 (patch) | |
tree | 017338b9fca34216be66d370627522f204f168e1 /drivers/soundwire/Kconfig | |
parent | 664b16589f882202b8fa8149d0074f3159bade76 (diff) | |
download | linux-8676b3ca4673517650fd509d7fa586aff87b3c28.tar.gz linux-8676b3ca4673517650fd509d7fa586aff87b3c28.tar.bz2 linux-8676b3ca4673517650fd509d7fa586aff87b3c28.zip |
soundwire: fix regmap dependencies and align with other serial links
The existing code has a mixed select/depend usage which makes no sense.
config SOUNDWIRE_BUS
tristate
select REGMAP_SOUNDWIRE
config REGMAP_SOUNDWIRE
tristate
depends on SOUNDWIRE_BUS
Let's remove one layer of Kconfig definitions and align with the
solutions used by all other serial links.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190718230215.18675-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/Kconfig')
-rw-r--r-- | drivers/soundwire/Kconfig | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig index 3a01cfd70fdc..f518273cfbe3 100644 --- a/drivers/soundwire/Kconfig +++ b/drivers/soundwire/Kconfig @@ -4,7 +4,7 @@ # menuconfig SOUNDWIRE - bool "SoundWire support" + tristate "SoundWire support" help SoundWire is a 2-Pin interface with data and clock line ratified by the MIPI Alliance. SoundWire is used for transporting data @@ -17,17 +17,12 @@ if SOUNDWIRE comment "SoundWire Devices" -config SOUNDWIRE_BUS - tristate - select REGMAP_SOUNDWIRE - config SOUNDWIRE_CADENCE tristate config SOUNDWIRE_INTEL tristate "Intel SoundWire Master driver" select SOUNDWIRE_CADENCE - select SOUNDWIRE_BUS depends on X86 && ACPI && SND_SOC help SoundWire Intel Master driver. |