]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit227aa027cb50fcd4735a135bedcbd9e17d3147b1
treeeed2f1cd89faf7b5f84e649947cb086aa9ffd7a6
parent097e16bf686e9b9c3dfd6618693f0288894798cc
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