diff mbox series

[2/2] ASoC: codecs: rk817: drop I2C dependencies

Message ID 20220901101458.365354-2-krzysztof.kozlowski@linaro.org
State Accepted
Commit 69e3e537ec8a2e345f72f65ff24d3486d4764d83
Headers show
Series [1/2] ASoC: codecs: wcd934x: add Slimbus dependency | expand

Commit Message

Krzysztof Kozlowski Sept. 1, 2022, 10:14 a.m. UTC
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>
---
 sound/soc/codecs/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 2fc37f4e061c..c7d83fe999e9 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -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