Re: [PATCH 195/228] cpufreq: kirkwood: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Andrew Lunn
On Fri, Sep 13, 2013 at 06:32:21PM +0530, Viresh Kumar wrote: > - if (freqs.old != freqs.new) { > - local_irq_disable(); > - > - /* Disable interrupts to the CPU */ > - reg = readl_relaxed(priv.base); > - reg |= CPU_SW_INT_BLK; > - wr

Re: [PATCH 195/228] cpufreq: kirkwood: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
On 13 September 2013 21:48, Andrew Lunn wrote: > On Fri, Sep 13, 2013 at 06:32:21PM +0530, Viresh Kumar wrote: > >> - if (freqs.old != freqs.new) { >> - local_irq_disable(); >> - >> - /* Disable interrupts to the CPU */ >> - reg = readl_relaxed(priv.base); >

[PATCH 195/228] cpufreq: kirkwood: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, &freqs, CPUFREQ_PRECHANGE); /* Change rate here */ cpufreq_notify_tr