]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ASoC: wm8978: enable symmetric rates
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 12 Jul 2013 03:09:43 +0000 (20:09 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 12 Jul 2013 08:44:56 +0000 (09:44 +0100)
wm8978 needs .symmetric_rates = 1.
The playback/capture will be strange without this patch
when it used asymmetric rate in same time

Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8978.c

index 029f31c8e7036b12bd79543960279c356ab1806b..d8fc531c0e59f0604ae72a4a0a1af68d010317c3 100644 (file)
@@ -921,6 +921,7 @@ static struct snd_soc_dai_driver wm8978_dai = {
                .formats = WM8978_FORMATS,
        },
        .ops = &wm8978_dai_ops,
+       .symmetric_rates = 1,
 };
 
 static int wm8978_suspend(struct snd_soc_codec *codec)