[pm-wip/cpufreq] [PATCH] OMAP2+: CPUfreq: update lpj with reference value to avoid progressive error.

2011-07-11 Thread Santosh Shilimkar
From: Russell King rmk+ker...@arm.linux.org.uk Adjust _both_ the per-cpu loops_per_jiffy and global lpj. Calibrate them with with reference to the initial values to avoid a progressively bigger and bigger error in the value over time. While at this, re-use the notifiers for UP/SMP since on UP

Re: [pm-wip/cpufreq] [PATCH] OMAP2+: CPUfreq: update lpj with reference value to avoid progressive error.

2011-07-11 Thread Kevin Hilman
Santosh Shilimkar santosh.shilim...@ti.com writes: From: Russell King rmk+ker...@arm.linux.org.uk Adjust _both_ the per-cpu loops_per_jiffy and global lpj. Calibrate them with with reference to the initial values to avoid a progressively bigger and bigger error in the value over time.