From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolin Chen Subject: Re: [PATCH] ASoC: fsl_sai: support more than 2 channels Date: Fri, 10 Feb 2017 23:25:43 -0800 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-Transfer-Encoding: 7bit Return-path: Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by alsa0.perex.cz (Postfix) with ESMTP id 0C9962667EE for ; Sat, 11 Feb 2017 08:25:58 +0100 (CET) Received: by mail-pg0-f67.google.com with SMTP id v184so4725628pgv.1 for ; Fri, 10 Feb 2017 23:25:58 -0800 (PST) Content-Disposition: inline In-Reply-To: <20170210184243.15901-1-alexandre.belloni@free-electrons.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Alexandre Belloni Cc: Fabio Estevam , alsa-devel@alsa-project.org, Mark Brown , Timur Tabi , linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.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 >