Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342397
b: refs/heads/master
c: 58664f9
h: refs/heads/master
i:
  342395: b643c54
v: v3
  • Loading branch information
Stephen Warren committed Nov 16, 2012
1 parent f3d08f8 commit ace977d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73368ba0e168f28ec0b3e689bd428edc92505b62
refs/heads/master: 58664f90525f9f1cef63167ee9ae3d6100f58494
7 changes: 3 additions & 4 deletions trunk/arch/arm/mach-tegra/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ static void __init tegra_init_timer(void)

clk = clk_get_sys("timer", NULL);
if (IS_ERR(clk)) {
pr_warn("Unable to get timer clock."
" Assuming 12Mhz input clock.\n");
pr_warn("Unable to get timer clock. Assuming 12Mhz input clock.\n");
rate = 12000000;
} else {
clk_prepare_enable(clk);
Expand Down Expand Up @@ -223,13 +222,13 @@ static void __init tegra_init_timer(void)

if (clocksource_mmio_init(timer_reg_base + TIMERUS_CNTR_1US,
"timer_us", 1000000, 300, 32, clocksource_mmio_readl_up)) {
printk(KERN_ERR "Failed to register clocksource\n");
pr_err("Failed to register clocksource\n");
BUG();
}

ret = setup_irq(tegra_timer_irq.irq, &tegra_timer_irq);
if (ret) {
printk(KERN_ERR "Failed to register timer IRQ: %d\n", ret);
pr_err("Failed to register timer IRQ: %d\n", ret);
BUG();
}

Expand Down

0 comments on commit ace977d

Please sign in to comment.