MLK-17569-1: hdp: fix channel swapping issue for hdmi audio
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 7 Mar 2018 10:23:23 +0000 (18:23 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:13 +0000 (14:56 -0500)
commitfd7f53765f4813e4b60a96230946af790d389abd
tree506cb97b72aa18bda5e326da383b149a2da95621
parentd824fb319bfab5a6d23c44b5a2d63e90e39ec7cd
MLK-17569-1: hdp: fix channel swapping issue for hdmi audio

There is channel swapping issue for 4 channel and 8 channel audio.
After dump the register, found that SMPL2PKT_CNFG is not set
correctly, the reason is that F_NUM_OF_I2S_PORTS should be
F_NUM_OF_I2S_PORTS_S.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Sandor Yu <sandor.yu@nxp.com>
drivers/mxc/hdp/API_Audio.c