arm: mm: dma-mapping: don't let prefetch page mapping fail
authorKonsta Holtta <kholtta@nvidia.com>
Wed, 31 Jul 2013 06:58:36 +0000 (09:58 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:39:31 +0000 (13:39 -0700)
commit3b962c8ea297779e37eac6ac50273e9d238c213c
tree2d50da5a63e6d37f0ead5545dbb8ce730ab9a341
parentccb93814bcfd08894a389591966ae73f2b486a07
arm: mm: dma-mapping: don't let prefetch page mapping fail

Require also the prefetch page to map in pg_iommu_map*(): return error
if either it or the requested buffer fail to map.

Bug 1303110
Bug 1338469

Change-Id: I57f59207fb547390d87a24d7c4c7faec23a61768
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/256163
(cherry picked from commit b6fe2c18b9528a112943a054866a452f1fff3425)
Reviewed-on: http://git-master/r/259519
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/mm/dma-mapping.c