From patchwork Mon Jan 18 15:26:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Mouiche X-Patchwork-Id: 8055431 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0C9B89F440 for ; Mon, 18 Jan 2016 15:27:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3BB1220495 for ; Mon, 18 Jan 2016 15:27:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 04D95203E3 for ; Mon, 18 Jan 2016 15:27:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id E9C2C26533D; Mon, 18 Jan 2016 16:27:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id AF9D1264F2F; Mon, 18 Jan 2016 16:26:45 +0100 (CET) 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 9BF15264F09; Mon, 18 Jan 2016 16:26:44 +0100 (CET) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by alsa0.perex.cz (Postfix) with ESMTP id 18A1D260534 for ; Mon, 18 Jan 2016 16:26:39 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id b14so128389467wmb.1 for ; Mon, 18 Jan 2016 07:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=invoxia-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VvvtBMlXuLOpjf1A4lytfavLIue8yZhUcHD9XoteA1o=; b=BhsS4vwya1cKV29HSzN47u6eDtDJilM2AZDUM4sFt6ejEUQrjcwqwDUdvWxeMl7NBK U2arScUDckZ4juZrsW30rf8Ivl7vyAKiy3yVWoX/r4AX/PHisdQ1ThwmDZxyFK3nh/Bt HmtGyLTc8+04EgKAWN+bIFWCUgmoIXylL7te8+RUNm5HYFhEEDnnqPk3PQHC6RoRxpuN UR8bd4Lod+r1fY6iYUfcjofHHUuVv81aUSMqmFoseDvpxoww/JMcxKNZvKLa39EO5vWm jd9CqBRd7b6Lchbg+hL9lkLNgcy6IpHtqiWt5YaQBE8FP1vJymcgWN71kdMBi0Y4sDpc Qmkw== 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:in-reply-to :references; bh=VvvtBMlXuLOpjf1A4lytfavLIue8yZhUcHD9XoteA1o=; b=K7Daj1Kj9FOCV8HG3W+RhCXBQTgspShuhk4zgtcLnHFwidBEbhQbPyTQt1dE3FTKga Yxc8FNhaKYRLLApoMEQXUjCu/JwR8O07ULYw77HjfSD8NsOT0Y/pSNRt30jnxR8gL4SL 6TwgukGgwO45xP0+UfhYUV9Sndaz07UyjDduFbdsPSw/lmTjns16OkN2j2x1OGsoFydz CDUZ8tQO878I6JzHFqADcjtaRf+6agPacOzB7brex4zsMuzknwlwS84QTBjTqyKBAfEs JOXr0XnbsYzIP4/63E8E5yHXQ8pFOl877QRDecqdjnkkBTwb6nohBVl4ZTa7HSB77/B4 ubaQ== X-Gm-Message-State: ALoCoQkAZSi3wd1ImFRAmPK/nZj8Sga8jqOI//mf8uiivLeZ/rWICW6HKNXOo1afvV6Y+cgSezvoAoUayfOlgVv/y9vnHU0Xgg== X-Received: by 10.194.157.3 with SMTP id wi3mr24609491wjb.30.1453130798841; Mon, 18 Jan 2016 07:26:38 -0800 (PST) Received: from localhost.localdomain (AAnnecy-653-1-87-247.w90-41.abo.wanadoo.fr. [90.41.34.247]) by smtp.gmail.com with ESMTPSA id g3sm24306496wjw.31.2016.01.18.07.26.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jan 2016 07:26:37 -0800 (PST) From: Arnaud Mouiche To: Timur Tabi , Nicolin Chen , Xiubo Li , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, Caleb Crome Date: Mon, 18 Jan 2016 16:26:06 +0100 Message-Id: <1453130771-24419-2-git-send-email-arnaud.mouiche@invoxia.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453130771-24419-1-git-send-email-arnaud.mouiche@invoxia.com> References: <1453130771-24419-1-git-send-email-arnaud.mouiche@invoxia.com> Cc: Arnaud Mouiche Subject: [alsa-devel] [PATCH v3 1/6] ASoC: fsl_ssi: Real hardware channels max number is 32 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 max number of slots in TDM mode is 32: - Frame Rate Divider Control is a 5bit value - Time slot mask registers control 32 slots. Signed-off-by: Arnaud Mouiche Tested-By: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 40dfd8a..cfc78b8 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1167,14 +1167,14 @@ static struct snd_soc_dai_driver fsl_ssi_dai_template = { .playback = { .stream_name = "CPU-Playback", .channels_min = 1, - .channels_max = 2, + .channels_max = 32, .rates = FSLSSI_I2S_RATES, .formats = FSLSSI_I2S_FORMATS, }, .capture = { .stream_name = "CPU-Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 32, .rates = FSLSSI_I2S_RATES, .formats = FSLSSI_I2S_FORMATS, },