From patchwork Tue Apr 29 11:18:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 29344 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D9FC2202FE for ; Tue, 29 Apr 2014 11:21:16 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id sa20sf171484veb.8 for ; Tue, 29 Apr 2014 04:21:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=94rrZI3h8cpzFqRCsjC4FDxGShtlG7FsjUzOx1ElmIA=; b=cmTr596sEQv+MizHXeoAILE1+ZXfQXemcg4oHUXJXoLlQL62yv6MEUWfcNfMbQLxlo oblBNc1K5QDqIOh5H4sKOICoRbhxnwmMZxu8KWA4K7vnlhzEHeT1fzsf7/rTlOwKSAzB lNATHYtPHroMNRFJpR3k/c9dPVswn/CpXZeQr7/xVWogtXx3hZc3OPztkv4oE8hyJFYR NUsjgg64tnRx8hYwsiktQMrsFPxeQX85gmCA3tDwAw1t3bhu+ZeeqThblV3YIYXJDfSg nErRimK1biSgzOnzmG1OHTatjcQVZwAtU7GlrrgSsbPaR53QeLBKnBBpuzzdJglfxpem CYSg== X-Gm-Message-State: ALoCoQnsQdIrB6MPMfsmdeuBPvk9B07M8jPkNxJYyFwbqChSqX6KW7/2+S3CEUwDYoRdRZGl9F8M X-Received: by 10.236.181.74 with SMTP id k50mr13263292yhm.46.1398770476637; Tue, 29 Apr 2014 04:21:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.66 with SMTP id g60ls69856qgf.40.gmail; Tue, 29 Apr 2014 04:21:16 -0700 (PDT) X-Received: by 10.220.133.197 with SMTP id g5mr29081918vct.20.1398770476470; Tue, 29 Apr 2014 04:21:16 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id cb3si4419886vdc.41.2014.04.29.04.21.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 04:21:16 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hr9so61448vcb.1 for ; Tue, 29 Apr 2014 04:21:16 -0700 (PDT) X-Received: by 10.58.23.6 with SMTP id i6mr28666561vef.12.1398770476388; Tue, 29 Apr 2014 04:21:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp188792vcb; Tue, 29 Apr 2014 04:21:15 -0700 (PDT) X-Received: by 10.66.120.201 with SMTP id le9mr31812335pab.98.1398770475656; Tue, 29 Apr 2014 04:21:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fd9si12588502pad.183.2014.04.29.04.21.14; Tue, 29 Apr 2014 04:21:14 -0700 (PDT) Received-SPF: none (google.com: linux-omap-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933782AbaD2LUc (ORCPT + 6 others); Tue, 29 Apr 2014 07:20:32 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:35480 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933717AbaD2LUa (ORCPT ); Tue, 29 Apr 2014 07:20:30 -0400 Received: by mail-pd0-f178.google.com with SMTP id fp1so45939pdb.23 for ; Tue, 29 Apr 2014 04:20:27 -0700 (PDT) X-Received: by 10.66.221.99 with SMTP id qd3mr32475821pac.46.1398770427170; Tue, 29 Apr 2014 04:20:27 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id xo9sm108641006pab.18.2014.04.29.04.20.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 04:20:26 -0700 (PDT) From: Xia Kaixu To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, arnd@arndb.de, kaixu.xia@linaro.org, Mark Brown , Liam Girdwood , Peter Ujfalusi , Jarkko Nikula , linux-omap@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 14/15] ASoC: Amstrad E3 needs TTY support for codec Date: Tue, 29 Apr 2014 19:18:35 +0800 Message-Id: <1398770316-19715-15-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398770316-19715-1-git-send-email-kaixu.xia@linaro.org> References: <1398770316-19715-1-git-send-email-kaixu.xia@linaro.org> Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kaixu.xia@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Arnd Bergmann The cx20442 codec driver used here requires the TTY layer to be enabled, or we get a link error: sound/built-in.o: In function `cx20442_codec_remove': cx20442.c:398: undefined reference to `tty_hangup' sound/built-in.o: In function `ams_delta_remove': ams-delta.c:613: undefined reference to `tty_unregister_ldisc' sound/built-in.o: In function `ams_delta_cx20442_init': ams-delta.c:559: undefined reference to `tty_register_ldisc' This adds the missing dependency in the E3 configuration, there was already one for the codec. Signed-off-by: Arnd Bergmann Signed-off-by: Xia Kaixu Cc: Mark Brown Cc: Liam Girdwood Cc: Peter Ujfalusi Cc: Jarkko Nikula Cc: linux-omap@vger.kernel.org Cc: alsa-devel@alsa-project.org --- sound/soc/omap/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig index 2796af9..d44463a 100644 --- a/sound/soc/omap/Kconfig +++ b/sound/soc/omap/Kconfig @@ -37,7 +37,7 @@ config SND_OMAP_SOC_RX51 config SND_OMAP_SOC_AMS_DELTA tristate "SoC Audio support for Amstrad E3 (Delta) videophone" - depends on SND_OMAP_SOC && MACH_AMS_DELTA + depends on SND_OMAP_SOC && MACH_AMS_DELTA && TTY select SND_OMAP_SOC_MCBSP select SND_SOC_CX20442 help