Hebbar, Gururaja c9fe573a65 ASoC: tlv320aic3x: Fix codec pll configure bug
In sound/soc/codecs/tlv320aic3x.c

        data = snd_soc_read(codec, AIC3X_PLL_PROGA_REG);
        snd_soc_write(codec, AIC3X_PLL_PROGA_REG,
                      data | (pll_p << PLLP_SHIFT));

In the above code, pll-p value is OR'ed with previous value without
clearing it. Bug is not seen if pll-p value doesn't change across
Sampling frequency.

However on some platforms (like AM335x EVM-SK), pll-p may have different
values across different sampling frequencies. In such case, above code
configures the pll with a wrong value.
Because of this bug, when a audio stream is played with pll value
different from previous stream, audio is heard as differently(like its
stretched).

Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
2012-06-29 08:18:03 +01:00
..
2011-08-17 00:53:54 +09:00
2011-06-16 11:24:17 +01:00
2011-06-28 17:11:20 +01:00
2011-05-19 14:10:45 -07:00
2012-04-30 23:36:20 +01:00
2012-05-18 17:31:24 +01:00
2008-11-17 11:45:39 +00:00
2012-05-18 17:31:24 +01:00
2011-03-11 12:01:44 +00:00
2012-04-02 14:53:13 +01:00
2012-04-01 11:28:24 +01:00
2012-05-18 16:42:21 +01:00
2012-05-18 16:42:20 +01:00
2012-05-18 17:31:24 +01:00
2011-09-21 15:52:23 +01:00
2012-05-23 13:05:43 -07:00
2011-11-29 12:01:23 +00:00
2011-11-29 12:01:23 +00:00
2012-05-13 13:32:54 +01:00
2011-03-31 11:26:23 -03:00
2012-05-13 13:32:54 +01:00
2012-06-29 08:18:02 +01:00
2012-01-26 16:07:55 +00:00
2010-11-24 11:33:12 +00:00
2010-11-06 11:35:39 -04:00
2010-09-30 13:32:21 -07:00
2012-01-20 13:58:22 +00:00
2011-07-15 23:39:53 +09:00
2010-09-15 16:11:24 +01:00
2012-06-25 11:14:13 +02:00
2012-05-13 13:32:54 +01:00