]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx6: add missing twd_clk for imx6q clock
authorShawn Guo <shawn.guo@linaro.org>
Fri, 13 Jan 2012 06:18:49 +0000 (14:18 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 20 Jan 2012 02:16:39 +0000 (10:16 +0800)
commitc19660283dd2418309efa3b58f5bd05b3917d832
treea629dd875618cc73dda572080a3967409c9474e5
parent1e5ed5b4d5a9924b9ec96032051e81bc6340728e
ARM: imx6: add missing twd_clk for imx6q clock

With commit a657fdb (ARM: 7211/1: smp_twd: get the rate from a clock)
hitting mainline, if we do not have a twd_clk for lookup, we will see
the following error message in boot log.

 smp_twd: clock not found: -2

Actually we should add this clock regardless of the error message,
so that we can:

 * Avoid the local timer calibrating at boot time
 * Make the local timer cpufreq aware on imx6q

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clock-imx6q.c