Browse Source

ASoC: davinci-mcasp: Set .symmetric_rates = 1 in snd_soc_dai_driver

The TX and RX direction share the same bit clock and frame sync, so
the samplerate must be the same to both directions.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Jyri Sarha 10 years ago
parent
commit
295c3405a8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/davinci/davinci-mcasp.c

+ 1 - 0
sound/soc/davinci/davinci-mcasp.c

@@ -1298,6 +1298,7 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = {
 		.ops 		= &davinci_mcasp_dai_ops,
 
 		.symmetric_samplebits	= 1,
+		.symmetric_rates	= 1,
 	},
 	{
 		.name		= "davinci-mcasp.1",