linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clocksource : nomadik-mtu : fix missing irq initialization
@ 2013-02-22 15:44 Daniel Lezcano
  2013-02-22 15:58 ` [tip:timers/urgent] clocksource : Nomadik-mtu " tip-bot for Daniel Lezcano
  2013-02-22 17:21 ` [PATCH] clocksource : nomadik-mtu " Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Lezcano @ 2013-02-22 15:44 UTC (permalink / raw)
  To: john.stultz, tglx; +Cc: linux-kernel, linaro-kernel, patches, linus.walleij

This patch fix the clock device irq field which is not initialized.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 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);
 }
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-23  6:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 15:44 [PATCH] clocksource : nomadik-mtu : fix missing irq initialization Daniel Lezcano
2013-02-22 15:58 ` [tip:timers/urgent] clocksource : Nomadik-mtu " tip-bot for Daniel Lezcano
2013-02-22 17:21 ` [PATCH] clocksource : nomadik-mtu " Linus Walleij
2013-02-23  6:18   ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).