common: add dma_mmap_from_coherent() function
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 23 Mar 2012 12:05:14 +0000 (13:05 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 May 2012 13:06:09 +0000 (15:06 +0200)
commitbca0fa5f12a6744a2b2e53154af65a51402b3426
tree3da5a3098d9a9139e7a027cdab1a8ae5386f6be0
parent76e10d158efb6d4516018846f60c2ab5501900bc
common: add dma_mmap_from_coherent() function

Add a common helper for dma-mapping core for mapping a coherent buffer
to userspace.

Reported-by: Subash Patel <subashrp@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-By: Subash Patel <subash.ramaswamy@linaro.org>
drivers/base/dma-coherent.c
include/asm-generic/dma-coherent.h