From: Kevin Hilman Date: Fri, 11 May 2012 23:00:24 +0000 (-0700) Subject: ARM: OMAP2+: powerdomain: allow pre/post transtion to be per pwrdm X-Git-Tag: omap-devel-pm-for-v3.6~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e055548953355b6e69c56f9e54388845b29b4e97;p=pandora-kernel.git ARM: OMAP2+: powerdomain: allow pre/post transtion to be per pwrdm Iteration over all power domains in the idle path is unnecessary since only power domains that are transitioning need to be accounted for. Also PRCM register accesses are known to be expensive, so the additional latency added to the idle path is signficiant. In order allow the pre/post transitions to be isolated and called per-pwrdm, change the API so passing in a specific power domain will trigger the pre/post transtion accounting for only that specific power domain. Passing NULL means iterating over all power domains as is current behavior. Reviewed-by: Santosh Shilimkar Tested-by: Santosh Shilimkar Tested-by: Grazvydas Ignotas Acked-by: Paul Walmsley Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed