OSDN Git Service

ASoC: codecs: rk817: drop I2C dependencies
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 Sep 2022 10:14:58 +0000 (13:14 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2022 10:56:25 +0000 (11:56 +0100)
The RK817 codec uses regmap API and not directly regmap I2C.  It is the
parent MFD who uses and selects regmap I2C.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220901101458.365354-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 2fc37f4..c7d83fe 100644 (file)
@@ -1197,8 +1197,7 @@ config SND_SOC_RK3328
 
 config SND_SOC_RK817
        tristate "Rockchip RK817 audio CODEC"
-       depends on MFD_RK808 || COMPILE_TEST && I2C
-       select REGMAP_I2C
+       depends on MFD_RK808 || COMPILE_TEST
 
 config SND_SOC_RL6231
        tristate