msm: iommu: Don't read from write-only registers
authorStepan Moskovchenko <stepanm@codeaurora.org>
Tue, 1 Mar 2011 00:04:55 +0000 (16:04 -0800)
committerDavid Brown <davidb@codeaurora.org>
Tue, 8 Mar 2011 22:42:30 +0000 (14:42 -0800)
commitb0e7808d548ea1d857216d31d63078411203a116
treeeed2f1cd89faf7b5f84e649947cb086aa9ffd7a6
parenta43d8c101eb71bf4527dd7f36a34a5a502894f38
msm: iommu: Don't read from write-only registers

Don't read from V2Pxx command registers when doing
iova-to-phys operations. These registers are write-only and
reading the value before modifying the VA bits is
unnecessary.

Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/include/mach/iommu_hw-8xxx.h
arch/arm/mach-msm/iommu.c