Skip to content
Commit 7d482813 authored by Jaewon's avatar Jaewon Committed by Rob Herring
Browse files

drivers: of: of_reserved_mem: fixup the CMA alignment not to affect dma-coherent



There was an alignment mismatch issue for CMA and it was fixed by
commit 1cc8e345 ("drivers: of: of_reserved_mem: fixup the alignment with CMA setup").
However the way of the commit considers not only dma-contiguous(CMA) but also
dma-coherent which has no that requirement.

This patch checks more to distinguish dma-contiguous(CMA) from dma-coherent.

Signed-off-by: default avatarJaewon Kim <jaewon31.kim@samsung.com>
Acked-by: default avatarJason Liu <r64343@freescale.com>
Acked-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
[robh: remove erroneous opening bracket]
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 39935466
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment