dma: pl330: Limit MFIFO usage for memcpy to avoid exhausting entries
authorJon Medhurst <tixy@linaro.org>
Tue, 15 Apr 2014 16:50:17 +0000 (17:50 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 31 Oct 2014 12:22:15 +0000 (12:22 +0000)
commitdc54b5ce29f6de821508e8698294639328e564e9
treedb7b0d3308b578da396208767df8c90ea401bf8a
parente963adad3a5b56b9824691fbca82cbced83fbcac
dma: pl330: Limit MFIFO usage for memcpy to avoid exhausting entries

The MFIFO is shared by all channels so restrict each memcpy to it's fair
share. This is being over cautious, but without a global view of DMA
channel usage on a system it's not possible to come up with a more
optimum safe limit.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
drivers/dma/pl330.c