RE: [PATCH 2/5] ARM: OMAP2+: PM: use the power domains registers cache for the power states

2012-05-03 Thread Bedia, Vaibhav
On Tue, May 01, 2012 at 21:07:39, Hunter, Jon wrote: [...] int pwrdm_read_pwrst(struct powerdomain *pwrdm) { - int ret = -EINVAL; + int pwrst, ret = -EINVAL; if (!pwrdm) return -EINVAL; - if (arch_pwrdm arch_pwrdm-pwrdm_read_pwrst) + if

Re: [PATCH 2/5] ARM: OMAP2+: PM: use the power domains registers cache for the power states

2012-05-03 Thread Jean Pihet
Hi Jon, Vaibhav, On Thu, May 3, 2012 at 8:38 AM, Bedia, Vaibhav vaibhav.be...@ti.com wrote: On Tue, May 01, 2012 at 21:07:39, Hunter, Jon wrote: [...]  int pwrdm_read_pwrst(struct powerdomain *pwrdm)  { -   int ret = -EINVAL; +   int pwrst, ret = -EINVAL;     if (!pwrdm)          

[PATCH 2/5] ARM: OMAP2+: PM: use the power domains registers cache for the power states

2012-05-01 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Use the caching API for the previous, current and next power domains states. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/powerdomain.c | 32 ++-- 1 files changed, 26 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 2/5] ARM: OMAP2+: PM: use the power domains registers cache for the power states

2012-05-01 Thread Jon Hunter
Hi Jean, On 05/01/2012 08:07 AM, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Use the caching API for the previous, current and next power domains states. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/powerdomain.c | 32