ASoC: davinci-mcasp: Configure xxTDM, xxFMT and xxFMCT registers synchronously
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 30 Jan 2014 13:15:23 +0000 (15:15 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 31 Jan 2014 15:51:20 +0000 (15:51 +0000)
commit2c56c4c27c59edfaa779da156f6a70a38bb1f2df
treea39c0cefc1873fb342cbf18096b2478095e7805d
parent662ffae9ed036bc82ff74c26dc731e2815431fcc
ASoC: davinci-mcasp: Configure xxTDM, xxFMT and xxFMCT registers synchronously

These registers can be configured synchronously for playback and capture.
Furthermore when McASP is in master and sync mode the capture operation
needs the TX path to be configured in order to be able to provide the needed
clocks for the bus.
xxFMT and xxFMCT registers has been already configured for both TX and RX
other places in the driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-mcasp.c