From: Rajendra Nayak Date: Sun, 10 Jul 2011 02:42:11 +0000 (-0600) Subject: OMAP2+: PM: Initialise sleep_switch to a non-valid value X-Git-Tag: v3.1-rc1~152^2^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6349b96b439515e1100cd98f27ff55a262f558a3;p=pandora-kernel.git OMAP2+: PM: Initialise sleep_switch to a non-valid value sleep_switch which is initialised to 0 in omap_set_pwrdm_state happens to be a valid sleep_switch type (FORCEWAKEUP_SWITCH) which are defined as: #define FORCEWAKEUP_SWITCH 0 #define LOWPOWERSTATE_SWITCH 1 This causes the function to wrongly program some clock domains even when the Powerdomain is in ON state. Signed-off-by: Rajendra Nayak Cc: Paul Walmsley Acked-by: Kevin Hilman Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed