diff options
author | Arnaud Mouiche <arnaud.mouiche@invoxia.com> | 2016-05-03 14:13:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-13 13:15:31 +0200 |
commit | 48a260eec301fd7a112d1737ca2755d91558a349 (patch) | |
tree | d5961df8ddc6832bfefc548c1e0cb907aef8e0f0 /sound | |
parent | Linux 4.6-rc1 (diff) | |
download | linux-48a260eec301fd7a112d1737ca2755d91558a349.tar.xz linux-48a260eec301fd7a112d1737ca2755d91558a349.zip |
ASoC: fsl_ssi: Real hardware channels max number is 32
The max number of slots in TDM mode is 32:
- Frame Rate Divider Control is a 5bit value
- Time slot mask registers control 32 slots.
Signed-off-by: Arnaud Mouiche <arnaud.mouiche@invoxia.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Caleb Crome <caleb@crome.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index ed8de1035cda..8d5f3c192de2 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1158,14 +1158,14 @@ static struct snd_soc_dai_driver fsl_ssi_dai_template = { .playback = { .stream_name = "CPU-Playback", .channels_min = 1, - .channels_max = 2, + .channels_max = 32, .rates = FSLSSI_I2S_RATES, .formats = FSLSSI_I2S_FORMATS, }, .capture = { .stream_name = "CPU-Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 32, .rates = FSLSSI_I2S_RATES, .formats = FSLSSI_I2S_FORMATS, }, |