From: Linus Walleij Date: Tue, 13 Dec 2011 11:47:31 +0000 (+0100) Subject: ARM: 7211/1: smp_twd: get the rate from a clock X-Git-Tag: v3.3-rc1~176^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5def51b0f827931bb559e6195060d774894fc9f9;p=pandora-kernel.git ARM: 7211/1: smp_twd: get the rate from a clock This break-out from Colin Cross' cpufreq-aware TWD patch will optionally retrieve the clock rate of the TWD from an external clock. A variant of this patch has been proposed by Rob Herring as well. The basic idea is to avoid recalibrating the rate of the clock at boot if the platform already know what rate the clock to the TWD block has. ChangeLog v1->v2: added clk_[prepare|unprepare] calls. [Broke out of larger SMP TWD patch] Signed-off-by: Colin Cross Acked-by: Thomas Gleixner Acked-by: Rob Herring Acked-by: Santosh Shilimkar Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed