ASoC: davinci-mcasp: don't overwrite DIT settings
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 4 Apr 2013 14:13:20 +0000 (16:13 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 5 Apr 2013 10:27:13 +0000 (11:27 +0100)
commitd457840c052309c344bb69a11af567925ea958b9
treea2b0548af334e71c279567dcdca813dd104ced25
parentb2d1a866e5ad1d4a6f0c0a706876d3d0341603e7
ASoC: davinci-mcasp: don't overwrite DIT settings

Channel size settings will be made at the end of
davinci_mcasp_hw_params() routine and thus overwrite frame
format settings made for DIT mode. This patch fixes this issue
by taking op_mode into account. Tested with official PSP 3.2
kernel and sii9022a HDMI transmitter.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c