ASoC: DaVinci: Fix stream restart error
authorChaithrika U S <chaithrika@ti.com>
Wed, 20 Jan 2010 11:36:33 +0000 (17:06 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Jan 2010 11:55:54 +0000 (11:55 +0000)
commite473b847424bd215b686cbc1e781e82c904ee967
treea0358b05be9cc3bf8e31938e05ac3d01a5030f51
parentf1487fcbe47cd2bc0c71e8598bf9eb6a82dec544
ASoC: DaVinci: Fix stream restart error

Sometimes after a suspend-resume cycle, the ALSA application
restarts the stream when resume fails and McASP fails to work
as the clock is not enabled. This patch corrects this bug.

Testes on TI DA850/OMAP-L138 EVM.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c