Skip to contentSkip to conversation

ASoC: rt5616: add I2C dependency

PATCH In review Arnd Bergmann 2 participants 2 messages Mar 15, 2016 – Mar 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt5616: add I2C dependency

The rt5616 codec registers itself as an i2c driver, but can be enabled even when i2c is turned off, which leads to a build error:

codecs/rt5616.c:1419:1: error: data definition has no type or storage class [-Werror]
module_i2c_driver(rt5616_i2c_driver);

This adds an explicit Kconfig dependency, like the other codec drivers.

Fixes 288bc356a881 ("ASoC: rt5616: allow to build with CONFIG_SND_SOC_RT5616")
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Kconfig +1 -0
index 649e92a252ae..7ef3a0c16478 100644
@@ -629,6 +629,7 @@ config SND_SOC_RT5514
 
 config SND_SOC_RT5616
 	tristate "Realtek RT5616 CODEC"
+	depends on I2C
 
 config SND_SOC_RT5631
 	tristate "Realtek ALC5631/RT5631 CODEC"
Signature · 1 line
2.7.0
maintainer
#1 lore raw

Applied "ASoC: rt5616: add I2C dependency" to the asoc tree

The patch

ASoC: rt5616: add I2C dependency

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

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

Quoted 1 line

From af139d5592bc812e7a1997727172ddba3e6be968 Mon Sep 17 00:00:00 2001

From: Arnd Bergmann <[email protected]>
Date: Tue, 15 Mar 2016 22:42:50 +0100
Subject: [PATCH] ASoC: rt5616: add I2C dependency

The rt5616 codec registers itself as an i2c driver, but can be enabled even when i2c is turned off, which leads to a build error:

codecs/rt5616.c:1419:1: error: data definition has no type or storage class [-Werror]
module_i2c_driver(rt5616_i2c_driver);

This adds an explicit Kconfig dependency, like the other codec drivers.

Fixes 288bc356a881 ("ASoC: rt5616: allow to build with CONFIG_SND_SOC_RT5616")
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Kconfig +1 -0
index 649e92a252ae..7ef3a0c16478 100644
@@ -629,6 +629,7 @@ config SND_SOC_RT5514
 
 config SND_SOC_RT5616
 	tristate "Realtek RT5616 CODEC"
+	depends on I2C
 
 config SND_SOC_RT5631
 	tristate "Realtek ALC5631/RT5631 CODEC"
Signature · 1 line
2.7.0