ARM: Samsung: use CMA for 2 memory banks for s5p-mfc device
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 29 Dec 2011 12:09:51 +0000 (13:09 +0100)
committerSergio Aguirre <saaguirre@ti.com>
Wed, 2 May 2012 14:23:48 +0000 (09:23 -0500)
commit9e33840c28305b803bb09d171f46ba924ef23953
tree4442ba785423126336f999cf3aa1766c7d7b0024
parent85376d2fa104e204bcd2feaeaebef6f0be890e8e
ARM: Samsung: use CMA for 2 memory banks for s5p-mfc device

Replace custom memory bank initialization using memblock_reserve and
dma_declare_coherent with a single call to CMA's dma_declare_contiguous.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/plat-s5p/dev-mfc.c