Files
linux/sound/soc/codecs
Hebbar, Gururaja c45f606a03 ASoC: tlv320aic3x: Fix codec pll configure bug
commit c9fe573a65 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-16 08:47:39 -07:00
..
2011-03-30 07:17:31 +09:00
2011-03-30 07:17:01 +09:00
2011-05-19 14:10:45 -07:00
2011-05-19 14:10:45 -07:00
2011-03-31 11:26:23 -03:00
2011-03-07 11:46:01 +00:00
2010-11-06 11:28:29 -04:00
2011-05-12 17:40:05 +02:00
2011-05-19 14:10:45 -07:00
2008-11-17 11:45:39 +00:00
2011-03-31 11:26:23 -03:00
2011-05-19 14:10:45 -07:00
2011-03-11 12:07:31 +00:00
2011-03-11 12:01:44 +00:00
2011-08-15 18:31:36 -07:00
2011-03-31 11:26:23 -03:00
2011-02-25 12:58:36 +00:00
2010-11-22 14:04:41 +00:00
2011-03-31 11:26:23 -03:00
2010-11-24 11:33:12 +00:00
2010-11-22 14:04:41 +00:00
2010-11-06 11:35:39 -04:00
2010-11-22 14:04:41 +00:00
2010-09-30 13:32:21 -07:00
2011-04-11 13:33:50 -07:00
2011-03-31 11:26:23 -03:00
2010-11-22 14:04:41 +00:00
2010-09-15 16:11:24 +01:00
2011-03-22 18:41:28 +00:00
2011-03-31 11:26:23 -03:00