]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:29 +0000 (04:04 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:29 +0000 (04:04 -0600)
commit977e796d5b145dd0fa72e1f71620f3e5becbb5d6
treec5ac665e3ccfb75d2482628845aa84f57daa4438
parent6f8b80aab84f0b861b79dd90dd094a5e72664ac0
ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it

An IP block's MPU interface port only needs to be found once.  The result
can be cached to speed further lookups.  This patch consolidates these
two steps into a single function.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod.c