diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-02-10 19:42:43 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-13 18:01:55 +0000 |
commit | 4957b556f5e7ef9855d698b7ae2f0d4245c7ff50 (patch) | |
tree | f41108779131007d4d71f459c4bf02126ff6c216 /sound/soc/fsl | |
parent | a5de5b74a50113564a1e0850e2da96c37c35e55d (diff) | |
download | linux-4957b556f5e7ef9855d698b7ae2f0d4245c7ff50.tar.gz linux-4957b556f5e7ef9855d698b7ae2f0d4245c7ff50.tar.bz2 linux-4957b556f5e7ef9855d698b7ae2f0d4245c7ff50.zip |
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>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 4 |
1 files 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, |