diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-01-20 23:42:22 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-01-26 01:37:05 -0500 |
commit | 2b5fbb824f99c5a31e9ff175e96257c1d49e2e15 (patch) | |
tree | b254f823071d6504a3a9b6fdeb0ce78ea09d0ca7 /drivers/dma | |
parent | fdb8df9933632e177621daf60da74fc693a8c7d1 (diff) |
dmaengine: rcar-hpbdma: tidyup residue_granularity
The driver doesn't support residue reporting at all.
residue_granularity should be set to DMA_RESIDUE_GRANULARITY_DESCRIPTOR.
Special thanks to Laurent
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/sh/rcar-hpbdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c index 6fef1b95c895..749f26ecd3b3 100644 --- a/drivers/dma/sh/rcar-hpbdma.c +++ b/drivers/dma/sh/rcar-hpbdma.c | |||
@@ -600,7 +600,7 @@ static int hpb_dmae_probe(struct platform_device *pdev) | |||
600 | dma_dev->src_addr_widths = widths; | 600 | dma_dev->src_addr_widths = widths; |
601 | dma_dev->dst_addr_widths = widths; | 601 | dma_dev->dst_addr_widths = widths; |
602 | dma_dev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); | 602 | dma_dev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); |
603 | dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_BURST; | 603 | dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; |
604 | 604 | ||
605 | hpbdev->shdma_dev.ops = &hpb_dmae_ops; | 605 | hpbdev->shdma_dev.ops = &hpb_dmae_ops; |
606 | hpbdev->shdma_dev.desc_size = sizeof(struct hpb_desc); | 606 | hpbdev->shdma_dev.desc_size = sizeof(struct hpb_desc); |