]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitf5023af65a9bdd586b33b56e83f1eb3529292991
treea2b0548af334e71c279567dcdca813dd104ced25
parent2dda75e07df04a39ecb9d61b6b5cdb6ed79df0d1
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