[PATCH] ASoC: fix unmet dependencies on GPIOLIB for SND_SOC_RT1015P

Tzung-Bi Shih tzungbi at google.com
Fri Oct 29 04:20:33 CEST 2021


On Fri, Oct 29, 2021 at 8:12 AM Julian Braha <julianbraha at gmail.com> wrote:
> WARNING: unmet direct dependencies detected for SND_SOC_DMIC
>   Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n]
>   Selected by [y]:
>   - SND_SOC_MT8192_MT6359_RT1015_RT5682 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] && SND_SOC_MT8192 [=y] && MTK_PMIC_WRAP [=y]
The block is not for RT1015P but it can also be fixed by the patch.

[...]

> This is because these config options select SND_SOC_RT1015P
> without selecting or depending on GPIOLIB, despite
> SND_SOC_RT1015P depending on GPIOLIB.
>
> These unmet dependency bugs were detected by Kismet,
> a static analysis tool for Kconfig. Please advise if this
> is not the appropriate solution.
>
> Signed-off-by: Julian Braha <julianbraha at gmail.com>
Acked-by: Tzung-Bi Shih <tzungbi at google.com>


More information about the Alsa-devel mailing list