ASoC: Configure symmetric rates for tlv320aic3x
authorRandolph Chung <tausq@parisc-linux.org>
Thu, 19 Aug 2010 11:06:17 +0000 (12:06 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 Aug 2010 11:07:36 +0000 (12:07 +0100)
The tlv320aic3x codec driver only supports symmetric rates for capture/
playback. Set the flag in the DAI accordingly.

Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c

index 43fd9c171742b13dcad9bce01233c9d802d94904..867bf1fb182567c5ad99f4ac854a94ba0d6a9a4b 100644 (file)
@@ -1117,6 +1117,7 @@ static struct snd_soc_dai_driver aic3x_dai = {
                .rates = AIC3X_RATES,
                .formats = AIC3X_FORMATS,},
        .ops = &aic3x_dai_ops,
+       .symmetric_rates = 1,
 };
 
 static int aic3x_suspend(struct snd_soc_codec *codec, pm_message_t state)