msm: iommu: Don't read from write-only registers
authorStepan Moskovchenko <stepanm@codeaurora.org>
Sat, 26 Feb 2011 02:52:22 +0000 (18:52 -0800)
committerRaymond Golo (intersectRaven) <rjgolo@gmail.com>
Sat, 21 May 2011 12:29:51 +0000 (20:29 +0800)
commit864faebab71ef82ce5c40db6b93d891f298e4139
treec30cfced11dfe0f001b3517f1c685aa8701a7633
parent498846a226ee49ff5ffb1779a2e977d0f1ce39ce
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.

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