ARM: dma-mapping: get gap/prefetch from mapping
authorSri Krishna chowdary <schowdary@nvidia.com>
Fri, 23 May 2014 20:21:42 +0000 (01:21 +0530)
committerHiroshi Doyu <hdoyu@nvidia.com>
Thu, 31 Jul 2014 10:09:44 +0000 (03:09 -0700)
commitaef1b47fbdf73ab45a01144e57b1a684ca5ac4d5
treef5a82c5555b4571002e63262de36b8618455f4ff
parentee64285a04eb89b0e3299781a1ceb1bbb90a9f00
ARM: dma-mapping: get gap/prefetch from mapping

if prefetch or gap are specified from mapping,
then use mapping's properties. Else, assume that this
mapping is still not updated and fall back to using
DMA_ATTR_SKIP_IOVA_GAP attribute.

Bug 1463797

Change-Id: I151e827058c76ee79521d30bd861fdc25bfd4580
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/413268
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/mm/dma-mapping.c