Message ID | 1465832422-2998958-1-git-send-email-arnd@arndb.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 05252513fbb9874a292a78aa577e5d42bb4d5ad0 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 80EBD6075D for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 13 Jun 2016 15:39:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7269025404 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 13 Jun 2016 15:39:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 670BC26861; Mon, 13 Jun 2016 15:39:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C370325404 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 13 Jun 2016 15:39:16 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3655226655F; Mon, 13 Jun 2016 17:39:15 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D5287265471; Mon, 13 Jun 2016 17:39:07 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E20DB26575E; Mon, 13 Jun 2016 17:39:05 +0200 (CEST) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by alsa0.perex.cz (Postfix) with ESMTP id D617826529F for <alsa-devel@alsa-project.org>; Mon, 13 Jun 2016 17:38:58 +0200 (CEST) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MPGpE-1b846f13jc-004UoW; Mon, 13 Jun 2016 17:38:53 +0200 From: Arnd Bergmann <arnd@arndb.de> To: Liam Girdwood <lgirdwood@gmail.com> Date: Mon, 13 Jun 2016 17:39:42 +0200 Message-Id: <1465832422-2998958-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:tPtMPlANfwQx77OO9/yNTqJFKso9VBUQ/jjWHKXJJrQYmqZqNjc jxeAsMWJCmpKL9V/7sjJ5wx51yEdWvWXa+FCE+LZRT2OcxXF6hC5dnRP1BHbzEeoWwDVbWW 68Jq3C06lqIfZ18HuxujKTnt2V3d9pl+EAwF0It1PBjlUa+DJ7ZSpQrkoCHlb0VXEjvqlag +21GxqLVPtj+uhr/UHGBA== X-UI-Out-Filterresults: notjunk:1; V01:K0:MisgSLpbd0k=:gV0O1FlzsKCLI4qjyiSteg eytPfjJsNgglYKO7r1mI3f2fAbG9kPI26QKsMXtCB1acDFMB3O1eZdv6B2prtD9PS28HvREhX I5+1JDd05iPxLIiS9XSSd24ylgIWYim8khzCNuLRKwl3AtimZ3Dq5fJjnxlFAMWVZuOO7+oa9 Rw7gED0cpJNdY2nvTYXkozelQo2dbl7bikKimRnE7yjwRy3Gw8Cp1Vscpxg52nC0VspzxcKwQ eMUM6tELQ8Ts1j81ocQSNsa+uG6b0irKizl6JfEeGynQHrB7g3q4h3EqTs1QLypklLDVzCM0n BFpU3xFTzsEu4MErDCNp1g0hSTQtYi7xvL/9JWELS1VlAEBmtOkQR4nC+VRgVJpQcBRPXHTO3 di3rDmeM+l2HYJG5lSuLIuDLAqRhAdmeM+Cuy158hRFvo1g9evbNghrwG0TqQjZQalbrPhbHK CXjJb16ri/BYorqWd/vmkM3iEZQ2R9RG2RHRirnnZnOQC5pOgdvKWcUYBDOJCBCgwEzB8yHBP KdS4IVfb9gJL63IBv8XuFgXgQxv6t526Ob9FYRU/4afJi9k+Usvrq5qqnqQneJgiL3xMi5nkO vEPAbR2do6SAk//92NJq/CT30Jfy9hSZQ6yqd/CR7UeW9AAx6S8k23iNUo+nquMPaIok8aP9d A3qP/xsacm0GU68h7ONtUGZNPc0EwrF45CjvjJ64s2+s6xzlgX7mh/58yJRYxad5URAI= Cc: alsa-devel@alsa-project.org, Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>, Charles Keepax <ckeepax@opensource.wolfsonmicro.com>, Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Subject: [alsa-devel] [PATCH] ASoC: wm8985: add i2c dependency X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index cb57f8fe2690..f555a5a004f7 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -986,6 +986,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
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") --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+)