From: Felipe Balbi <hidden> Date: 2012-02-03 07:28:14
The way the code is written, pwrdm_pre_transion()
calls _pwrdm_pre_transition_cb() (for each powerdomain)
which, in turn, calls pwrdm_clear_all_prev_pwrst().
It looks unnecessary to clear all previous power
states twice, so drop the initial set.
Signed-off-by: Felipe Balbi <redacted>
---
Hasn't been tested yet. Compile tested only. It looks
like we can safely remove those calls, but I would
like to hear from the PM folks first :-)
arch/arm/mach-omap2/pm34xx.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
On Fri, Feb 3, 2012 at 12:58 PM, Felipe Balbi [off-list ref] wrote:
The way the code is written, pwrdm_pre_transion()
calls _pwrdm_pre_transition_cb() (for each powerdomain)
which, in turn, calls pwrdm_clear_all_prev_pwrst().
It looks unnecessary to clear all previous power
states twice, so drop the initial set.
Signed-off-by: Felipe Balbi <redacted>
---
Hasn't been tested yet. Compile tested only. It looks
like we can safely remove those calls, but I would
like to hear from the PM folks first :-)
From: Felipe Balbi <hidden> Date: 2012-02-03 08:19:32
On Fri, Feb 03, 2012 at 01:34:55PM +0530, Shilimkar, Santosh wrote:
On Fri, Feb 3, 2012 at 12:58 PM, Felipe Balbi [off-list ref] wrote:
quoted
The way the code is written, pwrdm_pre_transion()
calls _pwrdm_pre_transition_cb() (for each powerdomain)
which, in turn, calls pwrdm_clear_all_prev_pwrst().
It looks unnecessary to clear all previous power
states twice, so drop the initial set.
Signed-off-by: Felipe Balbi <redacted>
---
Hasn't been tested yet. Compile tested only. It looks
like we can safely remove those calls, but I would
like to hear from the PM folks first :-)