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


Groups > linux.kernel > #1578704 > unrolled thread

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

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2017-02-10 19:50 +0100
Last post2017-02-13 20:00 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [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

#1578704 — [PATCH] ASoC: fsl_sai: support more than 2 channels

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2017-02-10 19:50 +0100
Subject[PATCH] ASoC: fsl_sai: support more than 2 channels
Message-ID<t9oqC-7bE-17@gated-at.bofh.it>
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>
---
 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

[toc] | [next] | [standalone]


#1578951

FromNicolin Chen <nicoleotsuka@gmail.com>
Date2017-02-11 08:30 +0100
Message-ID<t9Ai6-6cz-3@gated-at.bofh.it>
In reply to#1578704
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
> 

[toc] | [prev] | [next] | [standalone]


#1580000 — Applied "ASoC: fsl_sai: support more than 2 channels" to the asoc tree

FromMark Brown <broonie@kernel.org>
Date2017-02-13 20:00 +0100
SubjectApplied "ASoC: fsl_sai: support more than 2 channels" to the asoc tree
Message-ID<tau0V-7vg-3@gated-at.bofh.it>
In reply to#1578704
The patch

   ASoC: fsl_sai: support more than 2 channels

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 4957b556f5e7ef9855d698b7ae2f0d4245c7ff50 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Date: Fri, 10 Feb 2017 19:42:43 +0100
Subject: [PATCH] ASoC: fsl_sai: support more than 2 channels

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>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web