ARM: OMAP2+: PM: Fix the dt return condition in pm_late_init()
commitcd19010c03cc9cce2366d5065720a3ab546833dd
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 8 Feb 2013 15:11:44 +0000 (8 20:41 +0530)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Feb 2013 16:43:04 +0000 (8 09:43 -0700)
tree1a7279a94c686e75403c9c8166d2c629bcc413cd
parent6048009818047297c510e300c6e8e6f623d4eac9
ARM: OMAP2+: PM: Fix the dt return condition in pm_late_init()

Commit 1416408d {ARM: OMAP2+: PM: share some suspend-related functions
across OMAP2, 3, 4} moved suspend code to common place but now with
that change, for DT build on OMAP4, suspend hooks are not getting
registered which results in no suspend support.

The DT return condition is limited to PMIC and smartreflex
initialization and hence restrict it so that suspend ops gets
registered.

Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/pm.c