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)
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>

No differences found