ASoC: Davinci: McASP: Flush the FIFO before enabling
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Wed, 8 Aug 2012 15:10:31 +0000 (20:40 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Aug 2012 13:05:47 +0000 (14:05 +0100)
commit0d624275720a4b01217693eb80d967a0d5f1f3a3
tree1e3233645b1cb23bfca4e5b4c81359535679c3a3
parent0865a75d4166bddc533fd50831829ceefb94f9b0
ASoC: Davinci: McASP: Flush the FIFO before enabling

FIFO should be flushed before it is enabled for the first time.
This fixes the I/O errors reported by the ASoC core on a fresh boot

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c