dmaengine: pl330: report BURST residue granularity
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 19 Jun 2018 13:20:50 +0000 (15:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:12:33 +0000 (13:12 +0200)
commit8c5fd3d56f87e0dd401ba49c6061e15ac0c0860b
treeebc6767e646ed2cf20d618bf340ddaaddfa9eda5
parent680fc01a4a1eb193b97216b903ff348465b0a149
dmaengine: pl330: report BURST residue granularity

[ Upstream commit e3f329c600033f011a978a8bc4ddb1e2e94c4f4d ]

The reported residue is already calculated in BURST unit granularity, so
advertise this capability properly to other devices in the system.

Fixes: aee4d1fac887 ("dmaengine: pl330: improve pl330_tx_status() function")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/pl330.c