]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: DaVinci: Correct McASP FIFO initialization
authorChaithrika U S <chaithrika@ti.com>
Wed, 23 Sep 2009 14:12:08 +0000 (10:12 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Sep 2009 17:37:08 +0000 (10:37 -0700)
commitb46ae22c5a53bdf661f7bb9fa8d0106305ee8816
tree503d1415bf4874484b4bc08633266a7f203b9e54
parent0cd35af6ae4fb711ea8e598ec0e4a5e1b00f939c
ASoC: DaVinci: Correct McASP FIFO initialization

McASP write FIFO registers should be modified for playback and read FIFO
registers for capture. Check the PCM mode before manipulating the
FIFO registers. Currently, irrespective of playback/capture both the
FIFOs are enabled or disbaled. This resulted in errors in audio loopback
mode.

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