]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: rk817: fix missing I2C dependency in compile test
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 30 Aug 2022 07:58:55 +0000 (10:58 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 30 Aug 2022 09:11:20 +0000 (10:11 +0100)
commitb241c8c88a3530a78fd538b3d91038675089604e
tree01eb30580a4b5bb4e5a0e411f2648bbea7556845
parentd88e03eb93d8cc2361d603c433ecca6ba8c48c76
ASoC: codecs: rk817: fix missing I2C dependency in compile test

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: 076edc491d56 ("ASoC: codecs: allow compile testing without MFD drivers")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220830075855.278046-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig