[PATCH v2 0/2] soundwire: fix Kconfig select/depend issues
From: Pierre-Louis Bossart
Date: Fri Apr 19 2019 - 15:46:55 EST
0-day/Kbuild starts complaining about missed module dependencies and
compilation issues. Since codecs and soc drivers need to be compilable
independently, let's fix this using the following model:
SOF_INTEL_XYZ --- select ----> SOUNDWIRE_INTEL ---> select ----
|
v
SOUNDWIRE_BUS
^
|
CODEC_ABC ------- select -----> REGMAP_SOUNDWIRE ---> select ---
The SOUNDWIRE option remains a top-level boolean selector without
impact on compilation, as recommended by Linus [1] and done for all
Intel ASoC stuff.
[1] https://lkml.org/lkml/2017/11/15/554
Changes since v1:
Removed useless depend in REGMAP_SOUNDWIRE (select will ignore dependencies)
Reordered patches to avoid circular dependencies with git bisect
Pierre-Louis Bossart (2):
soundwire: fix SOUNDWIRE_BUS option
regmap: soundwire: fix Kconfig select/depend issue
drivers/base/regmap/Kconfig | 2 +-
drivers/soundwire/Kconfig | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
--
2.17.1