ASoC: davinci-mcasp: Set .symmetric_rates = 1 in snd_soc_dai_driver
authorJyri Sarha <jsarha@ti.com>
Wed, 9 Sep 2015 18:27:42 +0000 (21:27 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 14 Sep 2015 18:40:08 +0000 (19:40 +0100)
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>
sound/soc/davinci/davinci-mcasp.c

index 1260b315a96c5a50b02c0b643655821c7f04e949..2c5a2c5444ab805958d2cf0ea88c3cd144be5e4d 100644 (file)
@@ -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",