Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578951

Re: [PATCH] ASoC: fsl_sai: support more than 2 channels

From Nicolin Chen <nicoleotsuka@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: fsl_sai: support more than 2 channels
Date 2017-02-11 08:30 +0100
Message-ID <t9Ai6-6cz-3@gated-at.bofh.it> (permalink)
References <t9oqC-7bE-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <alexandre.belloni@free-electrons.com>

Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>

> ---
>  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
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: fsl_sai: support more than 2 channels Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-02-10 19:50 +0100
  Re: [PATCH] ASoC: fsl_sai: support more than 2 channels Nicolin Chen <nicoleotsuka@gmail.com> - 2017-02-11 08:30 +0100
  Applied "ASoC: fsl_sai: support more than 2 channels" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-02-13 20:00 +0100

csiph-web