Re: [PATCH 1/2] regmap: soundwire: fix Kconfig select/depend issue

From: Mark Brown
Date: Fri Apr 12 2019 - 04:46:34 EST


On Fri, Apr 12, 2019 at 10:38:19AM +0200, Takashi Iwai wrote:
> Pierre-Louis Bossart wrote:

> > config REGMAP_SOUNDWIRE
> > depends on SOUNDWIRE
> > select SOUNDWIRE_BUS

> To be noted, in general you can't do put both depends-on and select.
> The select always wins. So the depends-on in REGMAP_SOUNDWIRE is more
> or less moot.

To be clear the issue is that the dependencies of selected symbols just
get ignored (IIRC their selects too). It can be useful for
documentation but it does get a bit confusing sometimes.

Attachment: signature.asc
Description: PGP signature