From patchwork Thu Nov 26 15:05:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Mouiche X-Patchwork-Id: 7707461 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 E3C97BF90C for ; Thu, 26 Nov 2015 15:06:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2511220573 for ; Thu, 26 Nov 2015 15:06:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 08FD420570 for ; Thu, 26 Nov 2015 15:06:49 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6B0F5266748; Thu, 26 Nov 2015 16:06:45 +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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A8E7B264F39; Thu, 26 Nov 2015 16:06:17 +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 299CB261AF0; Thu, 26 Nov 2015 16:06:16 +0100 (CET) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by alsa0.perex.cz (Postfix) with ESMTP id 8A6EA2617E0 for ; Thu, 26 Nov 2015 16:06:10 +0100 (CET) Received: by wmvv187 with SMTP id v187so35374722wmv.1 for ; Thu, 26 Nov 2015 07:06:10 -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=lIrn0o6W4tZCRATnHoQdou+ecWMix2728HJdjjRwi0g=; b=X3EeUCQkptIUehaXqlNccDMsCeSHAj9zNByhQ10v/KgVtaKiTqYGsEl5wW7qbQBBJX JtxOXbmEomUAQRaBirZnGrJ4/SCzfC+O6cepJoXSjYVD7x1ei5BW0wJX6jxCZe8IfYpc JYe9aWkXyZd/iDvpWlmCxzds2wwqDr/60oy3b3z7s6Rn745AuVVJL9XiFiOBaJ0oNOfp tHfOgG+Wmzq8LS/Hm8pL4ExVHLC1nY9j5/95pp+UOfSzJEarKgZVmSAM3H4s8gDeGNsA H6dXcwQGePaM4qbxphR93nwOTA8VXqGOTtgpQPx+ksKHTImaWIfQ3gss7diNJLBzalWE h0ig== 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=lIrn0o6W4tZCRATnHoQdou+ecWMix2728HJdjjRwi0g=; b=bXCwYy+Z3IFOFDMQavEKflR1FIqaz0CRIOUUAOY+qBcbiMLSHTteUMknJl2Z64MqwT 3NwQC8Ke3mheC/BAXwOSQGw3XA5FULN3W/USewvwQt/iblF+hbLZjYqMkRYfjBqzqnya lbiMRVgnCEHs38quqF0QT3nivMm44lw8eMzHCj7IVuBR5C27Js7CcM/O/CccDLICYWn7 V9d1v0eT3wvnL9YrqqpE25/oVHtA0ZOyZVzJ7F7jehwqBozW+gsHhmZlJrr1ibmslNv4 ++R6vkoGlmmdDPv6mGOtJqvOsjtIXJSS8wda7D711Ud7IYgMhMT7fZj+Mouzkqt78PB4 pEng== X-Gm-Message-State: ALoCoQkzl8xu7wPRU3KF/jW2bm4a6XORNvmkybLzdyjv0e2dVIHms5bpB80i8Uk9d/5bWVJU2hgx X-Received: by 10.28.228.214 with SMTP id b205mr4599361wmh.46.1448550370159; Thu, 26 Nov 2015 07:06:10 -0800 (PST) Received: from amolinux.invoxia.net ([94.228.188.198]) by smtp.gmail.com with ESMTPSA id gl4sm1079618wjd.17.2015.11.26.07.06.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Nov 2015 07:06:09 -0800 (PST) From: Arnaud Mouiche To: Caleb Crome , Roberto Fichera , Markus Pargmann , Fabio Estevam , "shawn.guo@linaro.org" , alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com Date: Thu, 26 Nov 2015 16:05:36 +0100 Message-Id: <1448550341-11765-2-git-send-email-arnaud.mouiche@invoxia.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448550341-11765-1-git-send-email-arnaud.mouiche@invoxia.com> References: <1448550341-11765-1-git-send-email-arnaud.mouiche@invoxia.com> Cc: Arnaud Mouiche Subject: [alsa-devel] [PATCH v2 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 --- 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 37c5cd4..4e5d7db 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1084,14 +1084,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, },