rk29: timer: peripheral timer use pclk_periph
author黄涛 <huangtao@rock-chips.com>
Sat, 22 Oct 2011 02:00:54 +0000 (10:00 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 22 Oct 2011 02:10:32 +0000 (10:10 +0800)
commit92c638dd57ae43ecee56b4e397b8336e55fcaeec
tree37c70c69fb6757ba429a8e76969a2509388cca6c
parent74ad5701c46433390f8e71aeca2594caa1c93655
rk29: timer: peripheral timer use pclk_periph

We never change pclk_periph when use timer, so it is safe use pclk_periph
as parent clock.
We see some bug when use xin24m. For example rk29_timer_set_next_event will
loop 1s+ on ramos w15 machines.
arch/arm/mach-rk29/timer.c