lkml.org 
[lkml]   [2019]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] soundwire: fix Kconfig select/depend issues
Date
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

\
 
 \ /
  Last update: 2019-04-19 21:50    [W:0.080 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site