diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-10-28 23:52:01 -0700 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-11-28 13:45:59 +0530 |
commit | f1eab074df85a05dabfd368b6f64e7de63070301 (patch) | |
tree | 1c036cbe51e94eb6e92ffa6377e5bebb333496ca /drivers/dma/sh | |
parent | 086b0af19ae43d1ac5d77b5d423aa58374ad2709 (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 <max.filippov@cogentembedded.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh')
-rw-r--r-- | drivers/dma/sh/rcar-hpbdma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c index ebad84591a6..496180a6a5e 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) |