From patchwork Tue May 3 12:13:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Mouiche X-Patchwork-Id: 9003481 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 BDB0F9F372 for ; Tue, 3 May 2016 13:00:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C18022026F for ; Tue, 3 May 2016 13:00:20 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id CFD7C20253 for ; Tue, 3 May 2016 13:00:17 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2D87C265AD6; Tue, 3 May 2016 15:00:14 +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=-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 89F47265C95; Tue, 3 May 2016 14:44:19 +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 5E14F265C95; Tue, 3 May 2016 14:44:18 +0200 (CEST) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by alsa0.perex.cz (Postfix) with ESMTP id AAAD126655C for ; Tue, 3 May 2016 14:14:09 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id a17so35465737wme.0 for ; Tue, 03 May 2016 05:14:09 -0700 (PDT) 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=i36whOUvOHMhfllwn2XJeo7g9PLbkfAYvYs4FpzGw2w=; b=h9ORvtFmk9CO4poWMx9NiM2+6ToSuQ3YXpqLRO9BdUww+0McICC432iJrvPw6eiKit 3LdRmjv1DJ6aI3KUYWC2zwr/RFtUFRVUtvUDXtZWVtjsI/6Ekv1QitAAzus7lwo8/6AM lsKnYwXzjSsRpNC56MA8p+MN0ngEQy2tCgQl5ZJa7yJe3QdONk4lhSH/3Ggrf+enRG9B DTsqMNiVlIhRaXJDHsGClt5Yj/oRlVFPbYaJ8Iaap3iy3XX7eFVF9EA/rXxDa2gq4qif eUcDZe3cV8cmwQQGl16yOhKdUcsfxPggXO1J1evSon2P9UewRNmIhUavNuvwNZ8nc9Bf lbiQ== 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=i36whOUvOHMhfllwn2XJeo7g9PLbkfAYvYs4FpzGw2w=; b=CzBJA194koF6BkHheqL8vZRQjP3WU//l4IKw016uFywo2Q2Kb7Sv4G4RMLIRTJIbS5 Vo2DxXNp/8dy+i1bhnYtAQWLHyHa0Xo1uN5yn7xoUG5gcCiH8c1pc3dN+GzvA9DlM1XB xyq246hMfjfpEHpJuZBmjkgRRp3nGhmOO8NcyKsZXTyZQJ5dVM7kdMKymrHyfXx1P5OY iMKu12eF+lEWEbI9RrfaxDfZVIijMsuchW/Zlv9up6rsPBfBVSkmBh86cwEq6wi32CtA 2sILzb+AmkYGawvp8CK8kl6iKAU1AtdARzn5bJUBnKXJgZ6w3ecg840h73+4R97HbS9q eFUQ== X-Gm-Message-State: AOPr4FUfIPQlBsPVDQym+Qx4VMclGEDUfwCtswb0Fm1ycYqTXBPex66oa4qRl8L3jhwZwvtm X-Received: by 10.194.22.8 with SMTP id z8mr2554803wje.102.1462277649377; Tue, 03 May 2016 05:14:09 -0700 (PDT) Received: from localhost.localdomain (AAnnecy-653-1-104-42.w90-41.abo.wanadoo.fr. [90.41.64.42]) by smtp.gmail.com with ESMTPSA id k133sm24323995wmg.7.2016.05.03.05.14.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 May 2016 05:14:08 -0700 (PDT) From: Arnaud Mouiche To: Timur Tabi , Nicolin Chen , Xiubo Li , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, festevam@gmail.com, caleb@crome.org Date: Tue, 3 May 2016 14:13:55 +0200 Message-Id: <1462277640-20052-2-git-send-email-arnaud.mouiche@invoxia.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1462277640-20052-1-git-send-email-arnaud.mouiche@invoxia.com> References: <1462277640-20052-1-git-send-email-arnaud.mouiche@invoxia.com> Cc: Arnaud Mouiche Subject: [alsa-devel] [PATCH v4 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 Reviewed-by: Fabio Estevam 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 08dcbbf..472141f 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1159,14 +1159,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, },