From: Santosh Shilimkar Date: Fri, 8 Feb 2013 15:11:44 +0000 (+0530) Subject: ARM: OMAP2+: PM: Fix the dt return condition in pm_late_init() X-Git-Tag: omap-for-v3.9/pm-omap4-signed^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd19010c03cc9cce2366d5065720a3ab546833dd;p=pandora-kernel.git 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 Cc: Kevin Hilman Signed-off-by: Santosh Shilimkar Reviewed-by: Felipe Balbi Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed