ASoC: davinci-mcasp: Flush the FIFO before enabling
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Mon, 17 Oct 2011 09:12:11 +0000 (14:42 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:24 +0000 (00:44 +0530)
commitf58debabb86ff88bc1d34550b725c5d77b905edb
tree73fa204fa48a24b665c21c41175e612355547c12
parent0f7cb6d033e62ce61ce835d696f0d0414f0fad86
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: Vaibhav Hiremath <hvaibhav@ti.com>
sound/soc/davinci/davinci-mcasp.c