From: Fabio Estevam Date: Thu, 1 Nov 2012 17:57:11 +0000 (-0200) Subject: ASoC: mxs-saif: Fix channel swap for 24-bit format X-Git-Tag: v3.7-rc6~20^2~3^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f55f14752ecaccf7d6a52fd13929b73fcb191f19;p=pandora-kernel.git ASoC: mxs-saif: Fix channel swap for 24-bit format Playing 24-bit format file leads to channel swap on mx28 and the reason is that the current driver performs one write/read to/from the SAIF_DATA register to trigger the transfer. This approach works fine for S16_LE case because SAIF_DATA is a 32-bit register and thus is capable of storing the 16-bit left and right channels, but for the S24_LE case it can only store one channel, so in order to not lose the FIFO sync an extra read/write is needed. Reported-by: Dan Winner Signed-off-by: Fabio Estevam Tested-by: Dan Winner Acked-by: Dong Aisheng Signed-off-by: Mark Brown --- Reading git-diff-tree failed