From: Rajendra Nayak Date: Sun, 10 Jul 2011 11:56:54 +0000 (-0600) Subject: OMAP2+: PM: idle clkdms only if already in idle X-Git-Tag: v3.1-rc1~148^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86cfb52a145d8ddad66b98c39c6764f3883cd5a;p=pandora-kernel.git OMAP2+: PM: idle clkdms only if already in idle The omap_set_pwrdm_state function forces clockdomains to idle, without checking the existing idle state programmed, instead based solely on the HW capability of the clockdomain to support idle. This is wrong and the clockdomains should be idled post a state_switch *only* if idle transitions on the clockdomain were already enabled. Signed-off-by: Rajendra Nayak Cc: Paul Walmsley Acked-by: Kevin Hilman Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed