Julian Braha
2554877e4b
ASoC: fix unmet dependencies on GPIOLIB for SND_SOC_RT1015P
...
When SND_SOC_MT8192_MT6359_RT1015_RT5682,
SND_SOC_MT8192_MT6359_RT1015_RT5682,
SND_SOC_MT8183_DA7219_MAX98357A, or
SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A is selected,
and GPIOLIB is not selected, Kbuild gives the following
warnings, respectively:
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]
WARNING: unmet direct dependencies detected for SND_SOC_RT1015P
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]
WARNING: unmet direct dependencies detected for SND_SOC_RT1015P
Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n]
Selected by [y]:
- SND_SOC_MT8183_DA7219_MAX98357A [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_MT8183 [=y] && I2C [=y]
WARNING: unmet direct dependencies detected for SND_SOC_RT1015P
Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n]
Selected by [y]:
- SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] && SND_SOC_MT8183 [=y]
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@gmail.com>
Acked-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20211029001225.27218-1-julianbraha@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-10-29 12:36:05 +01:00
..
2021-06-14 15:01:03 +01:00
2021-10-28 13:28:16 +01:00
2021-09-16 14:11:30 +01:00
2021-09-16 14:11:37 +01:00
2021-09-27 13:01:09 +01:00
2021-09-27 13:00:54 +01:00
2021-10-29 12:36:04 +01:00
2021-09-27 13:01:12 +01:00
2021-10-18 21:15:13 +01:00
2021-10-18 13:56:37 +01:00
2021-06-15 16:39:49 +01:00
2021-06-15 16:39:47 +01:00
2021-10-27 11:31:25 +01:00
2021-06-15 16:39:48 +01:00
2021-07-30 17:20:51 +01:00
2021-10-29 12:36:05 +01:00
2021-10-22 13:25:48 +01:00
2021-08-04 08:08:21 +02:00
2021-10-28 13:28:18 +01:00
2021-10-27 11:31:16 +01:00
2021-09-27 13:00:53 +01:00
2021-08-20 13:07:26 +01:00
2021-10-18 13:50:42 +01:00
2021-06-17 13:47:06 +01:00
2021-08-04 08:10:27 +02:00
2021-06-17 13:47:03 +01:00
2021-06-17 13:47:02 +01:00
2021-06-21 13:04:18 +01:00
2021-10-25 12:36:17 +01:00
2021-09-29 13:06:37 +01:00
2021-08-19 18:21:23 +01:00
2021-09-29 13:06:38 +01:00
2021-07-30 17:20:50 +01:00
2021-07-27 13:13:04 +01:00
2021-08-16 13:29:36 +01:00
2021-10-15 16:10:57 +01:00
2021-09-20 13:30:18 +01:00
2021-10-18 21:15:13 +01:00
2021-08-16 13:29:32 +01:00
2021-10-18 21:15:13 +01:00
2021-09-27 13:01:13 +01:00
2021-08-16 13:29:34 +01:00
2021-08-03 18:27:14 +01:00
2021-10-18 13:56:36 +01:00
2021-10-27 11:31:09 +01:00
2021-06-07 15:55:12 +01:00