Skip to contentSkip to conversation

ASoC: Intel: Skylake: Add I2C depends for SKL machine

PATCH In review Vinod Koul 2 participants 3 messages Nov 18, 2015

Subsystems (3)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

PATCH 1/1 ASoC: Intel: Skylake: Add I2C depends for SKL machine

The i2c is dependency for the i2c codec drivers, so machine should depend on i2c. WIthout this we get build failures if I2C is not selected

sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_write':

Quoted 2 lines
Quoted 2 lines

sound/soc/codecs/rl6347a.c:66:8: error: implicit declaration of function 'i2c_master_send' [-Werror=implicit-function-declaration]

     ret = i2c_master_send(client, data, 4);
           ^

sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_read':

Quoted 2 lines
Quoted 2 lines

sound/soc/codecs/rl6347a.c:114:8: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]

     ret = i2c_transfer(client->adapter, xfer, 2);
---
 sound/soc/intel/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/Kconfig +1 -1
index 13a762172b5d..2903823ebee1 100644
@@ -145,7 +145,7 @@ config SND_SOC_INTEL_SKYLAKE
 
 config SND_SOC_INTEL_SKL_RT286_MACH
 	tristate "ASoC Audio driver for SKL with RT286 I2S mode"
-	depends on X86 && ACPI
+	depends on X86 && ACPI && I2C
 	select SND_SOC_INTEL_SST
 	select SND_SOC_INTEL_SKYLAKE
 	select SND_SOC_RT286
Signature · 1 line
1.9.1
maintainer
#1 lore raw

Applied "ASoC: Intel: Skylake: Add I2C depends for SKL machine" to the asoc tree

The patch

ASoC: Intel: Skylake: Add I2C depends for SKL machine

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 0928e8a54bf8889176175b2c3e5f2fc8ec1bb7ff Mon Sep 17 00:00:00 2001

From: Vinod Koul <[email protected]>
Date: Wed, 18 Nov 2015 19:11:46 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Add I2C depends for SKL machine

The i2c is dependency for the i2c codec drivers, so machine should depend on i2c. WIthout this we get build failures if I2C is not selected

sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_write':

Quoted 2 lines
Quoted 2 lines

sound/soc/codecs/rl6347a.c:66:8: error: implicit declaration of function 'i2c_master_send' [-Werror=implicit-function-declaration]

     ret = i2c_master_send(client, data, 4);
           ^

sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_read':

Quoted 2 lines
Quoted 2 lines

sound/soc/codecs/rl6347a.c:114:8: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]

     ret = i2c_transfer(client->adapter, xfer, 2);
---
 sound/soc/intel/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/Kconfig +1 -1
index 13a762172b5d..2903823ebee1 100644
@@ -145,7 +145,7 @@ config SND_SOC_INTEL_SKYLAKE
 
 config SND_SOC_INTEL_SKL_RT286_MACH
 	tristate "ASoC Audio driver for SKL with RT286 I2S mode"
-	depends on X86 && ACPI
+	depends on X86 && ACPI && I2C
 	select SND_SOC_INTEL_SST
 	select SND_SOC_INTEL_SKYLAKE
 	select SND_SOC_RT286
Signature · 1 line
2.6.2
maintainer
#2 lore raw

Applied "ASoC: Intel: Skylake: Add I2C depends for SKL machine" to the asoc tree

In reply to Vinod Koul

The patch

ASoC: Intel: Skylake: Add I2C depends for SKL machine

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 4b6295b238cf0fe0841675816be0998345d5990a Mon Sep 17 00:00:00 2001

From: Vinod Koul <[email protected]>
Date: Wed, 18 Nov 2015 19:11:46 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Add I2C depends for SKL machine

The i2c is dependency for the i2c codec drivers, so machine should depend on i2c. WIthout this we get build failures if I2C is not selected

sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_write':

Quoted 2 lines
Quoted 2 lines

sound/soc/codecs/rl6347a.c:66:8: error: implicit declaration of function 'i2c_master_send' [-Werror=implicit-function-declaration]

     ret = i2c_master_send(client, data, 4);
           ^

sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_read':

Quoted 2 lines
Quoted 2 lines

sound/soc/codecs/rl6347a.c:114:8: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]

     ret = i2c_transfer(client->adapter, xfer, 2);
---
 sound/soc/intel/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/Kconfig +1 -1
index 7b778ab85f8b..d430ef5a4f38 100644
@@ -144,7 +144,7 @@ config SND_SOC_INTEL_SKYLAKE
 
 config SND_SOC_INTEL_SKL_RT286_MACH
 	tristate "ASoC Audio driver for SKL with RT286 I2S mode"
-	depends on X86 && ACPI
+	depends on X86 && ACPI && I2C
 	select SND_SOC_INTEL_SST
 	select SND_SOC_INTEL_SKYLAKE
 	select SND_SOC_RT286
Signature · 1 line
2.6.2