diff mbox series

ASoC: codecs: rk817: fix missing I2C dependency in compile test

Message ID 20220830075855.278046-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Commit 5204e836544763cb085e653c82d4da77a427591a
Headers show
Series ASoC: codecs: rk817: fix missing I2C dependency in compile test | expand

Commit Message

Krzysztof Kozlowski Aug. 30, 2022, 7:58 a.m. UTC
SND_SOC_RK817 uses I2C regmap so compile testing without parent MFD_RK808, requires I2C:

  WARNING: unmet direct dependencies detected for REGMAP_I2C
    Depends on [n]: I2C [=n]
    Selected by [y]:
    - SND_SOC_RK817 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (MFD_RK808 [=n] || COMPILE_TEST [=y])

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 5b7f4e5de61b ("ASoC: codecs: allow compile testing without MFD drivers")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Commit SHA from linux-next (recent).
---
 sound/soc/codecs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown Aug. 30, 2022, 10:09 a.m. UTC | #1
On Tue, 30 Aug 2022 10:58:55 +0300, Krzysztof Kozlowski wrote:
> SND_SOC_RK817 uses I2C regmap so compile testing without parent MFD_RK808, requires I2C:
> 
>   WARNING: unmet direct dependencies detected for REGMAP_I2C
>     Depends on [n]: I2C [=n]
>     Selected by [y]:
>     - SND_SOC_RK817 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (MFD_RK808 [=n] || COMPILE_TEST [=y])
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: rk817: fix missing I2C dependency in compile test
      commit: 5204e836544763cb085e653c82d4da77a427591a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 94b7bb85d236..968d0701f2e8 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1197,7 +1197,7 @@  config SND_SOC_RK3328
 
 config SND_SOC_RK817
 	tristate "Rockchip RK817 audio CODEC"
-	depends on MFD_RK808 || COMPILE_TEST
+	depends on MFD_RK808 || COMPILE_TEST && I2C
 	select REGMAP_I2C
 
 config SND_SOC_RL6231