diff options
author | Arnaud Mouiche <arnaud.mouiche@invoxia.com> | 2016-05-03 08:13:55 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-13 07:15:31 -0400 |
commit | 48a260eec301fd7a112d1737ca2755d91558a349 (patch) | |
tree | d5961df8ddc6832bfefc548c1e0cb907aef8e0f0 | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
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>
-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 = { | |||
1158 | .playback = { | 1158 | .playback = { |
1159 | .stream_name = "CPU-Playback", | 1159 | .stream_name = "CPU-Playback", |
1160 | .channels_min = 1, | 1160 | .channels_min = 1, |
1161 | .channels_max = 2, | 1161 | .channels_max = 32, |
1162 | .rates = FSLSSI_I2S_RATES, | 1162 | .rates = FSLSSI_I2S_RATES, |
1163 | .formats = FSLSSI_I2S_FORMATS, | 1163 | .formats = FSLSSI_I2S_FORMATS, |
1164 | }, | 1164 | }, |
1165 | .capture = { | 1165 | .capture = { |
1166 | .stream_name = "CPU-Capture", | 1166 | .stream_name = "CPU-Capture", |
1167 | .channels_min = 1, | 1167 | .channels_min = 1, |
1168 | .channels_max = 2, | 1168 | .channels_max = 32, |
1169 | .rates = FSLSSI_I2S_RATES, | 1169 | .rates = FSLSSI_I2S_RATES, |
1170 | .formats = FSLSSI_I2S_FORMATS, | 1170 | .formats = FSLSSI_I2S_FORMATS, |
1171 | }, | 1171 | }, |