From: Anton Vorontsov Date: Thu, 10 Dec 2009 18:00:53 +0000 (+0300) Subject: powerpc/83xx/suspend: Clear deep_sleeping after devices resume X-Git-Tag: v2.6.33-rc2~25^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f25c525c1412675d2b23d5d88660fb5c9f3a5341;p=pandora-kernel.git powerpc/83xx/suspend: Clear deep_sleeping after devices resume Currently 83xx PMC driver clears deep_sleeping variable very early, before devices are resumed. This makes fsl_deep_sleep() unusable in drivers' resume() callback. Sure, drivers can store fsl_deep_sleep() value on suspend and use the stored value on resume. But a better solution is to postpone clearing the deep_sleeping variable, i.e. move it into finish() callback. Signed-off-by: Anton Vorontsov Acked-by: Scott Wood Signed-off-by: Kumar Gala --- Reading git-diff-tree failed