From patchwork Sat Apr 26 07:21:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 29143 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5322C20534 for ; Sat, 26 Apr 2014 07:23:01 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id j17sf27122232oag.10 for ; Sat, 26 Apr 2014 00:23:00 -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=L6jVixPF8WfPyFXU+nSP6q5414IZT3sfRjCSfclOigYRHEw/c0efRXxQZM03TQ+SZ+ nWZBI7Q5GaYzNt+1yVCfJgK304k9ApHsqgt6/3ZKmDW2jxiKziMsZ5SSRAsUbWVqMkXD O6E2NJ1pfxuLrDrgGUw3swWqVkMhOreGUp8mk2V+JcaZ0MzL+LgWXTb0zr7HaSVZfWQh RSsoyJgnk+fTrZnSL7jeXs0F7Dw0AQo6+lAyWI882BTdX0gXpAbccs28/+Nz4DICuEci fcRLIzaij7HRRvPVMiLLEWtKWdqsbdgag6zxFu6Eup5f1SCFcA6/zA7a1CgdfYuZkuwd 0O9w== X-Gm-Message-State: ALoCoQnbWmDBIuyvHy/0l4K3+VgiT5zYHL9th7pkkZ+929ovT87ERgSbL5RmnwNrNAhXoTkdqmOW X-Received: by 10.50.50.2 with SMTP id y2mr5102870ign.1.1398496980880; Sat, 26 Apr 2014 00:23:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.68 with SMTP id q62ls1422499qgd.27.gmail; Sat, 26 Apr 2014 00:23:00 -0700 (PDT) X-Received: by 10.220.190.197 with SMTP id dj5mr10839430vcb.19.1398496980776; Sat, 26 Apr 2014 00:23:00 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id wd2si2295413veb.5.2014.04.26.00.23.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Apr 2014 00:23:00 -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.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so5789461veb.20 for ; Sat, 26 Apr 2014 00:23:00 -0700 (PDT) X-Received: by 10.58.38.166 with SMTP id h6mr10772823vek.22.1398496980671; Sat, 26 Apr 2014 00:23:00 -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 ib8csp152776vcb; Sat, 26 Apr 2014 00:23:00 -0700 (PDT) X-Received: by 10.66.148.134 with SMTP id ts6mr12875645pab.113.1398496979871; Sat, 26 Apr 2014 00:22:59 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id sr9si6339928pab.202.2014.04.26.00.22.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Apr 2014 00:22:59 -0700 (PDT) Received-SPF: none (google.com: kaixu.xia@linaro.org does not designate permitted sender hosts) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id y10so3851660pdj.8 for ; Sat, 26 Apr 2014 00:22:59 -0700 (PDT) X-Received: by 10.66.189.106 with SMTP id gh10mr13018574pac.31.1398496979475; Sat, 26 Apr 2014 00:22:59 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id bc4sm20640376pbb.2.2014.04.26.00.22.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Apr 2014 00:22:58 -0700 (PDT) From: Xia Kaixu To: linaro-kernel@lists.linaro.org, arnd@arndb.de Cc: kaixu.xia@linaro.org, patches@linaro.org Subject: [PATCH 13/15] ASoC: Amstrad E3 needs TTY support for codec Date: Sat, 26 Apr 2014 15:21:47 +0800 Message-Id: <1398496909-27785-14-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398496909-27785-1-git-send-email-kaixu.xia@linaro.org> References: <1398496909-27785-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