Re: mmotm 2020-03-11-21-11 uploaded (sound/soc/codecs/wcd9335.c)

From: Masahiro Yamada
Date: Fri Mar 13 2020 - 00:53:40 EST


On Fri, Mar 13, 2020 at 1:59 AM Srinivas Kandagatla
<srinivas.kandagatla@xxxxxxxxxx> wrote:
>
> Adding+ Masahiro Yamada for more inputs w.r.t kconfig.
>
>
> Kconfig side we have:
>
> config SND_SOC_ALL_CODECS
> tristate "Build all ASoC CODEC drivers"
> imply SND_SOC_WCD9335
>
> config SND_SOC_WCD9335
> tristate "WCD9335 Codec"
> depends on SLIMBUS
> ...
>
> The implied symbol SND_SOC_WCD9335 should be set based on direct
> dependency, However in this case, direct dependency SLIMBUS=m where as
> SND_SOC_WCD9335=y. I would have expected to be SND_SOC_WCD9335=m in this
> case.
>
> Is this a valid possible case or a bug in Kconfig?
>

The patch exist:
https://patchwork.kernel.org/patch/11414795/


However, this caused another problem, then
got reverted in linux-next.

It fixed it too, so hopefully
this will be solved soon.



--
Best Regards
Masahiro Yamada