Skip to contentSkip to conversation

ASoC: rt286: Add depends on I2C

PATCH In review Bard Liao 2 participants 2 messages Oct 3, 2014

Subsystems (2)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 ASoC: rt286: Add depends on I2C

rt286 use I2C as its I/O. So the driver can only available when I2C is selected.

---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Kconfig +1 -0
index 351bf48..a68d173 100644
@@ -484,6 +484,7 @@ config SND_SOC_RL6231
 
 config SND_SOC_RT286
 	tristate
+	depends on I2C
 
 config SND_SOC_RT5631
 	tristate
Signature · 1 line
1.8.1.1.439.g50a6b54
maintainer
#1 lore raw

sound/soc/codecs/Kconfig config SND_SOC_RL6231 · line 487

Quoted 6 lines · Bard Liao

rt286 use I2C as its I/O. So the driver can only available when I2C is selected.

config SND_SOC_RT286

sound/soc/codecs/Kconfig +1 -0
 	tristate
+	depends on I2C

This won't actually do anything - since the symbol SND_SOC_RT286 is selected rather than enabled directly Kconfig will just ignore any dependencies it has. I've applied anyway.