]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic3x: Enable PLL when not bypassed
authorChaithrika U S <chaithrika@ti.com>
Wed, 22 Jul 2009 11:45:04 +0000 (07:45 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Jul 2009 07:14:29 +0000 (08:14 +0100)
commiteefc91b0a50020941060d2fdd63f7311856da28c
tree535d93024bd5634dac94a981d060ccc78ee754c8
parente76fcb6b905b1ea8914f583a827b4cfcfd4954f0
ASoC: tlv320aic3x: Enable PLL when not bypassed

PLL was not being enabled when it was not bypassed. This patch
enables the PLL when it is used. Additionally, it disables the PLL
when it is bypassed.

Without this patch, the audio on TI DM646x EVM and DM355 EVM
does not work properly. The bit clocks and the frame sync signals
from the codec are not correct and hence the playback/record are faster
than usual for most sample rates. The reason for this was that the PLL
was not enabled when it was not bypassed.

Tested on DM6467 EVM, playback tested on DM355 EVM.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c