[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-00f4e13c4634b10f6a16b26a980b22a53dfa6bb5@git.kernel.org>
Date: Fri, 22 Feb 2013 07:58:35 -0800
From: tip-bot for Daniel Lezcano <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
tglx@...utronix.de, daniel.lezcano@...aro.org
Subject: [tip:timers/urgent] clocksource : Nomadik-mtu :
fix missing irq initialization
Commit-ID: 00f4e13c4634b10f6a16b26a980b22a53dfa6bb5
Gitweb: http://git.kernel.org/tip/00f4e13c4634b10f6a16b26a980b22a53dfa6bb5
Author: Daniel Lezcano <daniel.lezcano@...aro.org>
AuthorDate: Fri, 22 Feb 2013 16:44:30 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 22 Feb 2013 16:47:59 +0100
clocksource : Nomadik-mtu : fix missing irq initialization
This patch fix the clock device irq field which is not initialized.
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: linaro-kernel@...ts.linaro.org
Cc: patches@...aro.org
Cc: linus.walleij@...ricsson.com
Cc: john.stultz@...aro.org
Link: http://lkml.kernel.org/r/1361547870-32638-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
drivers/clocksource/nomadik-mtu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c
index 8914c3c..7cbcaa0 100644
--- a/drivers/clocksource/nomadik-mtu.c
+++ b/drivers/clocksource/nomadik-mtu.c
@@ -226,5 +226,6 @@ void __init nmdk_timer_init(void __iomem *base, int irq)
/* Timer 1 is used for events, register irq and clockevents */
setup_irq(irq, &nmdk_timer_irq);
nmdk_clkevt.cpumask = cpumask_of(0);
+ nmdk_clkevt.irq = irq;
clockevents_config_and_register(&nmdk_clkevt, rate, 2, 0xffffffffU);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists