Skip to content

Commit 8bea5ac

Browse files
lkundrakolofj
authored andcommitted
clk: mmp2: Fix the order of timer mux parents
Determined empirically, no documentation is available. The OLPC XO-1.75 laptop used parent 1, that one being VCTCXO/4 (65MHz), but thought it's a VCTCXO/2 (130MHz). The mmp2 timer driver, not knowing what is going on, ended up just dividing the rate as of commit f36797e ("ARM: mmp/mmp2: dt: enable the clock")' Link: https://lore.kernel.org/r/20191218190454.420358-3-lkundrak@v3.sk Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 0bd0f30 commit 8bea5ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/mmp/clk-of-mmp2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static DEFINE_SPINLOCK(ssp3_lock);
134134
static const char *ssp_parent_names[] = {"vctcxo_4", "vctcxo_2", "vctcxo", "pll1_16"};
135135

136136
static DEFINE_SPINLOCK(timer_lock);
137-
static const char *timer_parent_names[] = {"clk32", "vctcxo_2", "vctcxo_4", "vctcxo"};
137+
static const char *timer_parent_names[] = {"clk32", "vctcxo_4", "vctcxo_2", "vctcxo"};
138138

139139
static DEFINE_SPINLOCK(reset_lock);
140140

0 commit comments

Comments
 (0)