omap iommu: move iommu_disable at fault to the above layer
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Mon, 24 May 2010 02:01:52 +0000 (02:01 +0000)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Tue, 29 Jun 2010 04:55:07 +0000 (07:55 +0300)
commit37b298100f0ff8b954217635504c860cdb040ccf
treed661c81739f69802d99e937b2ee3d5244d3f460b
parentddfa975a8cf66753a7d829bada753c3617628486
omap iommu: move iommu_disable at fault to the above layer

The function prefix "omap2_iommu_" indicates that the prefixed
function belongs to "omap2_iommu_ops" to provide iommu basic
functionalities for the above layers. It's better to avoid the
prefixed function called in the same prefixed ones internally, like
nested here. Now "iommu_disable" is called just after fault_isr() in
the above layer. This is a little bit more sensible to keep the
consistency of module layers.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
arch/arm/mach-omap2/iommu2.c
arch/arm/plat-omap/iommu.c