diff options
author | Lorenzo Nava <lorenx4@gmail.com> | 2015-07-02 17:28:03 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-08-04 16:16:21 +0100 |
commit | 21caf3a765b0a88f8fedf63b36e5d15683b73fe5 (patch) | |
tree | 98536a516686bbf3a717e47955cc1c8b2af251a4 /drivers/firmware/qcom_scm-32.c | |
parent | 1234e3fda9aa24b2d650bbcd9ef09d5f6a12dc86 (diff) |
ARM: 8398/1: arm DMA: Fix allocation from CMA for coherent DMA
This patch allows the use of CMA for DMA coherent memory allocation.
At the moment if the input parameter "is_coherent" is set to true
the allocation is not made using the CMA, which I think is not the
desired behaviour.
The patch covers the allocation and free of memory for coherent
DMA.
Signed-off-by: Lorenzo Nava <lorenx4@gmail.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/firmware/qcom_scm-32.c')
0 files changed, 0 insertions, 0 deletions