MLK-14498-10 dma: imx-sdma: fix wrong chn_real_count in cyclic mode
authorAndy Duan <fugang.duan@nxp.com>
Wed, 22 Mar 2017 02:31:04 +0000 (10:31 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:40 +0000 (15:21 -0500)
commit5889919a595e41c38dda7a2d556e8a79787a3bb8
treec933eda1c8ed614c4abf01d941f6d89bc226ba72
parent2a21c4ec63d9c9781592171edfa8594f6bf3e47e
MLK-14498-10 dma: imx-sdma: fix wrong chn_real_count in cyclic mode

The sdmac->chn_real_count is equal to sdmac->period_len in dma cyclic
mode that is not correct, correct it to real count in current BD transfer.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/dma/imx-sdma.c