dmaengine: imx-sdma: advertise correct residue granularity
authorLucas Stach <l.stach@pengutronix.de>
Wed, 8 Mar 2017 09:13:09 +0000 (10:13 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 14 Mar 2017 04:31:44 +0000 (10:01 +0530)
commit6f3125ceb66120796f62e7797a1a313418a5911a
treecccd99d345bf1789bb7991f2861cfcfb2726ca91
parent7c3f4309a0e5d70d164c60cd160262db21cb050d
dmaengine: imx-sdma: advertise correct residue granularity

The SDMA hardware/driver does not actually report the transfer residue at
burst size granularity, but in fact is only able to report residue after
each finished segment.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c