ARM: OMAP: DRA7: Provide proper class to omap2_set_globals_tap
authorNishanth Menon <nm@ti.com>
Fri, 1 Apr 2016 22:53:06 +0000 (17:53 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Apr 2016 15:54:44 +0000 (08:54 -0700)
commitec490f6f600f93236f1ad439b9809de563343b2c
tree0b69869bdffc97d62753bd7d744d863c2851261b
parentc783e6fd7fe4d34f0231d0d8da36497404aa6d93
ARM: OMAP: DRA7: Provide proper class to omap2_set_globals_tap

When commit 06c2d368fc36 ("ARM: OMAP: DRA7: Make use of omap_revision
information for soc_is* calls") introduced SoC check using
omap_revision, it missed providing DRA7 as class for initializing
the omap_version variable. Without doing this, soc_is_dra7xx() will
fail and as a result, omap4_pm_init_early never initializes the dra7
erratum for CPU power state. This causes the suspend path to fail
on DRA7 devices.

Fixes: 06c2d368fc36 ("ARM: OMAP: DRA7: Make use of omap_revision information for soc_is* calls")
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c