ASoC: rt5670: add symmetric_rates flag

rt5670 requires symmetric rate of capture and playback.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Bard Liao 2017-07-26 15:28:26 +08:00 committed by Mark Brown
parent 5771a8c088
commit 8215313c8b

View File

@ -2743,6 +2743,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
.formats = RT5670_FORMATS, .formats = RT5670_FORMATS,
}, },
.ops = &rt5670_aif_dai_ops, .ops = &rt5670_aif_dai_ops,
.symmetric_rates = 1,
}, },
{ {
.name = "rt5670-aif2", .name = "rt5670-aif2",
@ -2762,6 +2763,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
.formats = RT5670_FORMATS, .formats = RT5670_FORMATS,
}, },
.ops = &rt5670_aif_dai_ops, .ops = &rt5670_aif_dai_ops,
.symmetric_rates = 1,
}, },
}; };