diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-01-11 08:02:17 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-14 16:28:39 -0500 |
commit | bfb9bb42d60d7cf1d8057c7c3978dcc53c4d25fd (patch) | |
tree | 8da4319feb0b6f571d6650b9f7150681b145b37f /drivers/dma | |
parent | 507205632dd12636cfe4af4322dace263dca0c21 (diff) |
dma: pl330: Set residue_granularity
The pl330 driver currently does not support residue reporting, so set the
residue granularity to DMA_RESIDUE_GRANULARITY_DESCRIPTOR.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/pl330.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index cdf0483b8f2d..b8a7adf7023c 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c | |||
@@ -2887,6 +2887,7 @@ static int pl330_dma_device_slave_caps(struct dma_chan *dchan, | |||
2887 | caps->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); | 2887 | caps->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); |
2888 | caps->cmd_pause = false; | 2888 | caps->cmd_pause = false; |
2889 | caps->cmd_terminate = true; | 2889 | caps->cmd_terminate = true; |
2890 | caps->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; | ||
2890 | 2891 | ||
2891 | return 0; | 2892 | return 0; |
2892 | } | 2893 | } |