]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-9768: dma: imx-sdma: fix UART loopback random failed
authorRobin Gong <b38343@freescale.com>
Mon, 8 Dec 2014 09:30:40 +0000 (17:30 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:39 +0000 (21:18 -0600)
commitd657e72adc37792f4c1b8b050c6b6ca572aa311c
treeaa0ebf9237c06c4615e7a68dfb67e9b43ca60739
parent93b9aeeda8dc50f2ff237207315f9833e8b7228f
MLK-9768: dma: imx-sdma: fix UART loopback random failed

For UART, we need use old chn_real_count to know the real rx count even in
cylic dma mode, because UART driver use cyclic mode to increase performance
without any data loss.

Signed-off-by: Robin Gong <b38343@freescale.com>
drivers/dma/imx-sdma.c