From patchwork Tue Apr 29 09:23:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 29331 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A196F202DD for ; Tue, 29 Apr 2014 09:24:59 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ij19sf16725825vcb.1 for ; Tue, 29 Apr 2014 02:24:59 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=1sYyqcbiwjAI3ilKkijN2au0PfNHago4U9/e3YbY3+E=; b=emcrbVKeqefpyL+sRXL1RXdnP5NKqGLAsbQ4RoArVdEVmoesGJYLIeZz4YSMJWOgU8 QzbAKLPb8LSmKytlp5toGCm161W9MbCAy7W140pGNNosh/5L9UU7nRl9nxWc49KqgVD4 N06Y9tXGnWtqFlds2AfOogL8Lg6p1mJ0xAmWaEmJb5uEY6UAihEt1YDodypCHjKNLAyP Y54VbQ61RcEqOOYECVtZ9BArVog/p3PDdhhyhuYGImWXmUh21nDTBkz3YrN7CyBrVgKl wBRTu1Y59J6+CPW9lSSN5FWA8X2lJZGH9lkKeUQjNP0Rlo5gunAXJxvnaOImt0EAs6jU e42g== X-Gm-Message-State: ALoCoQmuKTP4hoysN5kQrSIM02AQ1NzyJx6D/gqDobBkx9d6SOE4UWjYP7cSJzKshhlXfzLWpTlp X-Received: by 10.52.61.197 with SMTP id s5mr5366218vdr.8.1398763499090; Tue, 29 Apr 2014 02:24:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.177 with SMTP id r46ls16847qgd.98.gmail; Tue, 29 Apr 2014 02:24:58 -0700 (PDT) X-Received: by 10.52.138.112 with SMTP id qp16mr72086vdb.40.1398763498896; Tue, 29 Apr 2014 02:24:58 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id sh5si4358497vdc.32.2014.04.29.02.24.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 02:24:58 -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.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so9394292veb.4 for ; Tue, 29 Apr 2014 02:24:58 -0700 (PDT) X-Received: by 10.58.185.145 with SMTP id fc17mr29521491vec.14.1398763498808; Tue, 29 Apr 2014 02:24:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp181871vcb; Tue, 29 Apr 2014 02:24:58 -0700 (PDT) X-Received: by 10.68.170.131 with SMTP id am3mr31058941pbc.97.1398763497821; Tue, 29 Apr 2014 02:24:57 -0700 (PDT) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx.google.com with ESMTPS id pb4si12230728pac.441.2014.04.29.02.24.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 02:24:57 -0700 (PDT) Received-SPF: none (google.com: kaixu.xia@linaro.org does not designate permitted sender hosts) client-ip=209.85.192.179; Received: by mail-pd0-f179.google.com with SMTP id y10so1800244pdj.10 for ; Tue, 29 Apr 2014 02:24:57 -0700 (PDT) X-Received: by 10.66.65.204 with SMTP id z12mr31418394pas.60.1398763497460; Tue, 29 Apr 2014 02:24:57 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id ek2sm40447807pbd.30.2014.04.29.02.24.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 02:24:56 -0700 (PDT) From: Xia Kaixu To: linaro-kernel@lists.linaro.org, arnd@arndb.de Cc: kaixu.xia@linaro.org, patches@linaro.org Subject: [PATCH v2 14/15] ASoC: Amstrad E3 needs TTY support for codec Date: Tue, 29 Apr 2014 17:23:31 +0800 Message-Id: <1398763412-18928-15-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398763412-18928-1-git-send-email-kaixu.xia@linaro.org> References: <1398763412-18928-1-git-send-email-kaixu.xia@linaro.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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: 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