From patchwork Mon Sep 28 20:32:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Zhang X-Patchwork-Id: 7279901 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E6794BEEA4 for ; Mon, 28 Sep 2015 20:33:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3197B20734 for ; Mon, 28 Sep 2015 20:33:21 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id A79FE206AD for ; Mon, 28 Sep 2015 20:33:19 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4163A265011; Mon, 28 Sep 2015 22:33:18 +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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id DDBB9260545; Mon, 28 Sep 2015 22:33:09 +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 9453D260580; Mon, 28 Sep 2015 22:33:08 +0200 (CEST) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by alsa0.perex.cz (Postfix) with ESMTP id 150812604E5 for ; Mon, 28 Sep 2015 22:33:03 +0200 (CEST) Received: by pacex6 with SMTP id ex6so183652193pac.0 for ; Mon, 28 Sep 2015 13:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=QKEppMQ3iJNfEOg8nZ2lDVwuSzV6+sTvTc8TA5Wxvyo=; b=FgyLiTBqBvkD0ZxuoKDzccUA3z+BCddhRmJYncu9wuKMRe8yHB/jV8pOPnv2+Oq8Xu lNQV7Yq3zsopTzfY+Qo4sxYDL+8KRb2iC7n93xKhBBZn/RlGxvpLz0pOQw2m74BmlKh3 ZptkWE0VJpapB7jQS4dcnaY2ZA4vDYz89Ssxo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QKEppMQ3iJNfEOg8nZ2lDVwuSzV6+sTvTc8TA5Wxvyo=; b=hA5UVNweOEIoTv8oN4s34koxbjSErRCKG32vEH8Qp6aIXRLjhq8F4CjqhzZBq7GJEg c8uLvGz4conklwOrDDCI4m/ffHFWiAyIfELIK99Az0xjo2AZzwGUuYumrgVfu+oZGDU1 CTKKk05qEvdRursl661qWZI2X3kofp9+qqfFPWUJ4eh3kjh1yuaQmmhRd3YabBZNxi9L /yfjFMZMP9WseyMf4bvoRUV1eP2TPkkIiET7GC65nEYfghHpBMMh/CZ9VJZ+80cc2rAc fFK2d5IEE0SeLT+GKDXYr56eVjTyxSG5U8vErjY9Bl+o/k72hxzG3GZDyNbgjgICI6af ZTxA== X-Gm-Message-State: ALoCoQmLlGwW3mAgT7PeszBTcNYR/TKBZtltdx1+MQ0RvDSMhCWUklZDkSSXO1Jlouq/FJPGv7vv X-Received: by 10.66.138.47 with SMTP id qn15mr28504829pab.12.1443472381800; Mon, 28 Sep 2015 13:33:01 -0700 (PDT) Received: from benzh.mtv.corp.google.com ([172.22.65.67]) by smtp.gmail.com with ESMTPSA id on5sm8064817pbb.65.2015.09.28.13.33.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Sep 2015 13:33:00 -0700 (PDT) From: Ben Zhang To: Mark Brown Date: Mon, 28 Sep 2015 13:32:37 -0700 Message-Id: <1443472357-12150-1-git-send-email-benzh@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 Cc: alsa-devel@alsa-project.org, Liam Girdwood , John Lin , Ben Zhang , Bard Liao , Dylan Reid Subject: [alsa-devel] [PATCH] ASoC: rt5645: Allow 4 channel recording on AIF1 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 The codec supports 4 channel recording with TDM on AIF1. This patch modifies the DAI capability to allow it. Signed-off-by: Ben Zhang --- sound/soc/codecs/rt5645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index b0d96b6..0d092bf 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3101,7 +3101,7 @@ static struct snd_soc_dai_driver rt5645_dai[] = { .capture = { .stream_name = "AIF1 Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 4, .rates = RT5645_STEREO_RATES, .formats = RT5645_FORMATS, },