diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-11-01 15:57:11 -0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-02 15:03:06 +0000 |
commit | f55f14752ecaccf7d6a52fd13929b73fcb191f19 (patch) | |
tree | 8b220c507ad69ff7b26eb0b95c3c1fa8f4b766b9 /include/linux/cn_proc.h | |
parent | 9f4c3f1cde541d477633479a0203ef8a834ee5f9 (diff) |
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 <DWinner@tc-helicon.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Dan Winner <DWinner@tc-helicon.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/cn_proc.h')
0 files changed, 0 insertions, 0 deletions