ARM: 8427/1: dma-mapping: add support for offset parameter in dma_mmap()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 28 Aug 2015 08:42:09 +0000 (09:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Oct 2015 15:36:45 +0000 (16:36 +0100)
commit7e31210349e9e03a9a4dff31ab5f2bc83e8e84f5
tree49c74057b38524ea3243a1064a3c3e72a04c5b79
parent371f0f085f629fc0f66695f572373ca4445a67ad
ARM: 8427/1: dma-mapping: add support for offset parameter in dma_mmap()

IOMMU-based dma_mmap() implementation lacked proper support for offset
parameter used in mmap call (it always assumed that mapping starts from
offset zero). This patch adds support for offset parameter to IOMMU-based
implementation.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: stable@vger.kernel.org # v3.6+
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/dma-mapping.c