aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2013-10-28 23:52:01 -0700
committerVinod Koul <[email protected]>2013-11-28 13:45:59 +0530
commitf1eab074df85a05dabfd368b6f64e7de63070301 (patch)
tree1c036cbe51e94eb6e92ffa6377e5bebb333496ca
parent086b0af19ae43d1ac5d77b5d423aa58374ad2709 (diff)
rcar-hpbdma: add max transfer size
shdma_chan_probe() can set max transfer size, but it will be PAGE_SIZE with out this patch. Reviewed-by: Max Filippov <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Simon Horman <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r--drivers/dma/sh/rcar-hpbdma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c
index ebad84591a6e..496180a6a5e5 100644
--- a/drivers/dma/sh/rcar-hpbdma.c
+++ b/drivers/dma/sh/rcar-hpbdma.c
@@ -510,6 +510,8 @@ static int hpb_dmae_chan_probe(struct hpb_dmae_device *hpbdev, int id)
}
schan = &new_hpb_chan->shdma_chan;
+ schan->max_xfer_len = HPB_DMA_TCR_MAX;
+
shdma_chan_probe(sdev, schan, id);
if (pdev->id >= 0)