* [PATCH] dmaengine: pl330: report BURST residue granularity
[not found] <CGME20180619132105eucas1p2d65cbd799e60a8ab1849c4ae716275c4@eucas1p2.samsung.com>
@ 2018-06-19 13:20 ` Marek Szyprowski
2018-06-28 5:54 ` Vinod
0 siblings, 1 reply; 2+ messages in thread
From: Marek Szyprowski @ 2018-06-19 13:20 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
drivers/dma/pl330.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index defcdde4d358..de0957fe9668 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -3033,7 +3033,7 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
pd->src_addr_widths = PL330_DMA_BUSWIDTHS;
pd->dst_addr_widths = PL330_DMA_BUSWIDTHS;
pd->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
- pd->residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT;
+ pd->residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;
pd->max_burst = ((pl330->quirks & PL330_QUIRK_BROKEN_NO_FLUSHP) ?
1 : PL330_MAX_BURST);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] dmaengine: pl330: report BURST residue granularity
2018-06-19 13:20 ` [PATCH] dmaengine: pl330: report BURST residue granularity Marek Szyprowski
@ 2018-06-28 5:54 ` Vinod
0 siblings, 0 replies; 2+ messages in thread
From: Vinod @ 2018-06-28 5:54 UTC (permalink / raw)
To: linux-arm-kernel
On 19-06-18, 15:20, Marek Szyprowski wrote:
> The reported residue is already calculated in BURST unit granularity, so
> advertise this capability properly to other devices in the system.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-28 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20180619132105eucas1p2d65cbd799e60a8ab1849c4ae716275c4@eucas1p2.samsung.com>
2018-06-19 13:20 ` [PATCH] dmaengine: pl330: report BURST residue granularity Marek Szyprowski
2018-06-28 5:54 ` Vinod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox