From patchwork Thu Aug 28 12:48:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4812721 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5FE93C0338 for ; Fri, 29 Aug 2014 22:08:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A844D2012D for ; Fri, 29 Aug 2014 22:08:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B6CE520122 for ; Fri, 29 Aug 2014 22:08:50 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4297B265A2D; Sat, 30 Aug 2014 00:08:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 04DEC265E1C; Fri, 29 Aug 2014 19:08:24 +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 88DD2265E1C; Fri, 29 Aug 2014 19:08:21 +0200 (CEST) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) by alsa0.perex.cz (Postfix) with ESMTP id DAE392661AB for ; Thu, 28 Aug 2014 14:48:30 +0200 (CEST) Received: from ayla.of.borg ([84.193.84.167]) by xavier.telenet-ops.be with bizsmtp id kCoV1o00M3cczKo01CoV2n; Thu, 28 Aug 2014 14:48:30 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.76) (envelope-from ) id 1XMz7t-0006RT-5g; Thu, 28 Aug 2014 14:48:29 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1XMz7u-0005vX-Oq; Thu, 28 Aug 2014 14:48:30 +0200 From: Geert Uytterhoeven To: Liam Girdwood , Mark Brown Date: Thu, 28 Aug 2014 14:48:24 +0200 Message-Id: <1409230104-22750-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org, Kuninori Morimoto , linux-sh@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: Allow SND_SOC_WM8978 to be selected manually 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP When using a DT-based multi-platform kernel, there's not always Kconfig logic that selects the right codec driver. Allow the user to manually select WM8978. This is needed for Armadillo 800 EVA using a generic r8a7740 multi-platform kernel. Signed-off-by: Geert Uytterhoeven --- sound/soc/codecs/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 7678122f8fe0..8ab154756934 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -731,7 +731,8 @@ config SND_SOC_WM8974 tristate config SND_SOC_WM8978 - tristate + tristate "Wolfson Microelectronics WM8978 codec" + depends on I2C config SND_SOC_WM8983 tristate