ARM: OMAP3: PM: Only access IVA if one exists
authorMark A. Greer <mgreer@animalcreek.com>
Thu, 19 Apr 2012 18:17:45 +0000 (11:17 -0700)
committerKevin Hilman <khilman@ti.com>
Tue, 19 Jun 2012 22:22:36 +0000 (15:22 -0700)
commita819c4f16d5a2708c11e708fd59a96565c5384a8
tree5207211fe8210e493c3581f15e6d91c4acf05404
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
ARM: OMAP3: PM: Only access IVA if one exists

prcm_setup_regs() blindly accesses IVA bits
in the PRM and calls omap3_iva_idle() which
does more IVA related register accesses.
Only do this if the IVA hardware actually
exists.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/pm34xx.c