From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753551AbdBKHZ7 (ORCPT ); Sat, 11 Feb 2017 02:25:59 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34501 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752538AbdBKHZ6 (ORCPT ); Sat, 11 Feb 2017 02:25:58 -0500 Date: Fri, 10 Feb 2017 23:25:43 -0800 From: Nicolin Chen To: Alexandre Belloni Cc: Mark Brown , Timur Tabi , Fabio Estevam , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: fsl_sai: support more than 2 channels Message-ID: <20170211072542.GA1884@Asurada> References: <20170210184243.15901-1-alexandre.belloni@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170210184243.15901-1-alexandre.belloni@free-electrons.com> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 10, 2017 at 07:42:43PM +0100, Alexandre Belloni wrote: > The FSL SAI can support up to 32 channels using TDM. Report that value so > they can actually be used. > > Tested using 8 channels. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolin Chen > --- > sound/soc/fsl/fsl_sai.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c > index 9fadf7e31c5f..18e5ce81527d 100644 > --- a/sound/soc/fsl/fsl_sai.c > +++ b/sound/soc/fsl/fsl_sai.c > @@ -668,7 +668,7 @@ static struct snd_soc_dai_driver fsl_sai_dai = { > .playback = { > .stream_name = "CPU-Playback", > .channels_min = 1, > - .channels_max = 2, > + .channels_max = 32, > .rate_min = 8000, > .rate_max = 192000, > .rates = SNDRV_PCM_RATE_KNOT, > @@ -677,7 +677,7 @@ static struct snd_soc_dai_driver fsl_sai_dai = { > .capture = { > .stream_name = "CPU-Capture", > .channels_min = 1, > - .channels_max = 2, > + .channels_max = 32, > .rate_min = 8000, > .rate_max = 192000, > .rates = SNDRV_PCM_RATE_KNOT, > -- > 2.11.0 >