Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421059

Applied "ASoC: wm8985: add i2c dependency" to the asoc tree

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Applied "ASoC: wm8985: add i2c dependency" to the asoc tree
Date 2016-06-13 19:00 +0200
Message-ID <rJDns-sX-35@gated-at.bofh.it> (permalink)
References <rJC81-8aA-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The patch

   ASoC: wm8985: 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

From 05252513fbb9874a292a78aa577e5d42bb4d5ad0 Mon Sep 17 00:00:00 2001
From: Arnd Bergmann <arnd@arndb.de>
Date: Mon, 13 Jun 2016 17:39:42 +0200
Subject: [PATCH] ASoC: wm8985: add i2c dependency

The wm8985 driver is now user-selectable, but building it with
I2C disabled results in a link failure:

sound/built-in.o: In function `wm8985_i2c_probe':
:(.text+0x44914): undefined reference to `__devm_regmap_init_i2c'
sound/built-in.o: In function `wm8985_exit':
:(.exit.text+0x3d8): undefined reference to `i2c_del_driver'
sound/built-in.o: In function `wm8985_modinit':
:(.init.text+0x1454): undefined reference to `i2c_register_driver'

This adds a Kconfig dependency the way that the other codec
drivers have it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 811e66de2241 ("ASoC: wm8985: add support for WM8758")
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 5c635f7ec0aa..f8f6dc6c6a98 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -945,6 +945,7 @@ config SND_SOC_WM8983
 
 config SND_SOC_WM8985
 	tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver"
+	depends on I2C
 
 config SND_SOC_WM8988
 	tristate
-- 
2.8.1

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: wm8985: add i2c dependency Arnd Bergmann <arnd@arndb.de> - 2016-06-13 17:40 +0200
  [PATCH] ASoC: cs53l30: include gpio/consumer.h Arnd Bergmann <arnd@arndb.de> - 2016-06-13 17:50 +0200
    Applied "ASoC: cs53l30: include gpio/consumer.h" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-06-13 19:00 +0200
  [PATCH] ASoC: pcm1681/pcm1791: fix typo in declaration Arnd Bergmann <arnd@arndb.de> - 2016-06-13 17:50 +0200
    Applied "ASoC: pcm1681/pcm1791: fix typo in declaration" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-06-13 19:00 +0200
  [PATCH] ASoC: rcar: fix 'const static' variables Arnd Bergmann <arnd@arndb.de> - 2016-06-13 17:50 +0200
    Applied "ASoC: rcar: fix 'const static' variables" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-06-13 19:00 +0200
  Applied "ASoC: wm8985: add i2c dependency" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-06-13 19:00 +0200

csiph-web