]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ASoC: rt5670: add symmetric_rates flag
authorBard Liao <bardliao@realtek.com>
Wed, 26 Jul 2017 07:28:26 +0000 (15:28 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2017 11:29:03 +0000 (12:29 +0100)
rt5670 requires symmetric rate of capture and playback.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5670.c

index 0ec7985ed306612db13bd6314ccc94733e835cce..174141fefc7986b4c3f80964893e8bae760b1ac9 100644 (file)
@@ -2743,6 +2743,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
                        .formats = RT5670_FORMATS,
                },
                .ops = &rt5670_aif_dai_ops,
+               .symmetric_rates = 1,
        },
        {
                .name = "rt5670-aif2",
@@ -2762,6 +2763,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
                        .formats = RT5670_FORMATS,
                },
                .ops = &rt5670_aif_dai_ops,
+               .symmetric_rates = 1,
        },
 };