Skip to content

Commit 3af7a88

Browse files
Lennart Sorensengregkh
authored andcommitted
ARM: omap5/dra7xx: Fix frequency typos
commit 572b24e upstream. The switch statement of the possible list of SYSCLK1 frequencies is missing a 0 in 4 out of the 7 frequencies. Fixes: fa6d79d ("ARM: OMAP: Add initialisation for the real-time counter") Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 73ea8ac commit 3af7a88

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎arch/arm/mach-omap2/timer.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,11 @@ static void __init realtime_counter_init(void)
513513
rate = clk_get_rate(sys_clk);
514514
/* Numerator/denumerator values refer TRM Realtime Counter section */
515515
switch (rate) {
516-
case 1200000:
516+
case 12000000:
517517
num = 64;
518518
den = 125;
519519
break;
520-
case 1300000:
520+
case 13000000:
521521
num = 768;
522522
den = 1625;
523523
break;
@@ -529,11 +529,11 @@ static void __init realtime_counter_init(void)
529529
num = 192;
530530
den = 625;
531531
break;
532-
case 2600000:
532+
case 26000000:
533533
num = 384;
534534
den = 1625;
535535
break;
536-
case 2700000:
536+
case 27000000:
537537
num = 256;
538538
den = 1125;
539539
break;

0 commit comments

Comments
 (0)