]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00215851 ASRC:fix datawidth type mismatch
authorChen Liangjun <b36089@freescale.com>
Thu, 5 Jul 2012 07:10:14 +0000 (15:10 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:19 +0000 (14:12 +0200)
commit9c42c6d90ca74d1ff136498ba1a0274000d8ab67
treeb49ea04a43b979a6da7d69e1d4870df366704c96
parent2b0cf48f294d9137c9568978a06efa733629a1c0
ENGR00215851 ASRC:fix datawidth type mismatch

When ESAI call ASRC for p2p playback. The datawidth may be
changed. The cpu dai would configure the ESAI data width according
to the modified datawidth(output_bits). The type mismatch between output_bits
and cpu dai's switch branch cause cpu dai's hardware parameter set
fail.

Match the type of output_bits to the switch branch in cpu dai's hardware
parameter configuration function.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
sound/soc/imx/imx-esai.c