diff options
author | Bard Liao <bardliao@realtek.com> | 2017-07-26 10:28:26 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-26 14:29:03 +0300 |
commit | 8215313c8bf487b6b15839be3c18fdd1598b1e79 (patch) | |
tree | ab1b3f3ed37edf72fde9a4472c195e2e9b1fdaa1 /sound/soc/codecs/rt5670.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-8215313c8bf487b6b15839be3c18fdd1598b1e79.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/rt5670.c')
-rw-r--r-- | sound/soc/codecs/rt5670.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 0ec7985ed306..174141fefc79 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -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, }, }; |