Message ID | 1315144466-9395-23-git-send-email-santosh.shilimkar@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello. On 04-09-2011 17:54, Santosh Shilimkar wrote: > Signed-off-by: Santosh Shilimkar<santosh.shilimkar@ti.com> > Cc: Kevin Hilman<khilman@ti.com> > --- > arch/arm/mach-omap2/omap-mpuss-lowpower.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c > index 4dd9d0f..0bc7610 100644 > --- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c > +++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c [...] > @@ -270,6 +272,7 @@ int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state) > scu_pwrst_prepare(cpu, power_state); > l2x0_pwrst_prepare(cpu, save_state); > > + Stray newline? > /* > * Call low level function with targeted CPU id > * and its low power state. WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Monday 05 September 2011 03:38 PM, Sergei Shtylyov wrote: > Hello. > > On 04-09-2011 17:54, Santosh Shilimkar wrote: > >> Signed-off-by: Santosh Shilimkar<santosh.shilimkar@ti.com> >> Cc: Kevin Hilman<khilman@ti.com> >> --- >> arch/arm/mach-omap2/omap-mpuss-lowpower.c | 5 +++++ >> 1 files changed, 5 insertions(+), 0 deletions(-) > >> diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c >> b/arch/arm/mach-omap2/omap-mpuss-lowpower.c >> index 4dd9d0f..0bc7610 100644 >> --- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c >> +++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c > [...] >> @@ -270,6 +272,7 @@ int omap4_enter_lowpower(unsigned int cpu, >> unsigned int power_state) >> scu_pwrst_prepare(cpu, power_state); >> l2x0_pwrst_prepare(cpu, save_state); >> >> + > > Stray newline? > I noticed this later after scanning it on the list. Will remove it. Regards Sntosh -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c index 4dd9d0f..0bc7610 100644 --- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c +++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c @@ -253,6 +253,8 @@ int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state) return -ENXIO; } + pwrdm_pre_transition(); + /* * Check MPUSS next state and save interrupt controller if needed. * In MPUSS OSWR or device OFF, interrupt controller contest is lost. @@ -270,6 +272,7 @@ int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state) scu_pwrst_prepare(cpu, power_state); l2x0_pwrst_prepare(cpu, save_state); + /* * Call low level function with targeted CPU id * and its low power state. @@ -286,6 +289,8 @@ int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state) wakeup_cpu = smp_processor_id(); set_cpu_next_pwrst(wakeup_cpu, PWRDM_POWER_ON); + pwrdm_post_transition(); + return 0; }
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Kevin Hilman <khilman@ti.com> --- arch/arm/mach-omap2/omap-mpuss-lowpower.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)