]> Git Repo - linux.git/commit
ASoC: Use imply for SND_SOC_ALL_CODECS
authorGeert Uytterhoeven <[email protected]>
Fri, 7 Feb 2020 09:13:51 +0000 (10:13 +0100)
committerMark Brown <[email protected]>
Tue, 11 Feb 2020 11:26:58 +0000 (11:26 +0000)
commitea00d95200d02ece71f5814d41b14f2eb16d598b
treedc26fe43ee175c70ac3940eb4fd8dd0969c73fc5
parentf831ebf2faa598793a7ec327847c61dbeabba601
ASoC: Use imply for SND_SOC_ALL_CODECS

Currently SND_SOC_ALL_CODECS selects the config symbols for all codec
drivers.  As "select" bypasses dependencies, lots of "select" statements
need explicit dependencies, which are hard to get right, and hard to
maintain[*].

Fix this by using "imply" instead, which is a weak version of "select",
and which obeys dependencies of target symbols.

Add dependencies to invisible symbols that are currently selected only
if their dependencies are fulfilled.

[*] See e.g. commit 13426feaf46c48fc ("ASoC: wcd934x: Add missing
    COMMON_CLK dependency to SND_SOC_ALL_CODECS").

Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/Kconfig
This page took 0.050582 seconds and 4 git commands to generate.