summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2015-09-09 21:27:42 +0300
committerMark Brown <broonie@kernel.org>2015-09-14 19:40:08 +0100
commit295c3405a8bbd69ee8c8eb6580f30b0b8739b33a (patch)
tree37f0d53543f3d4c9312daf56824e6767d4cc0871 /sound
parent723831927e8813b5b336d383174f686ad708bf10 (diff)
downloadlinux-stable-295c3405a8bbd69ee8c8eb6580f30b0b8739b33a.tar.gz
linux-stable-295c3405a8bbd69ee8c8eb6580f30b0b8739b33a.tar.bz2
linux-stable-295c3405a8bbd69ee8c8eb6580f30b0b8739b33a.zip
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/davinci/davinci-mcasp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 1260b315a96c..2c5a2c5444ab 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/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",