]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP4: Fix twd_local_timer_register regression
authorTony Lindgren <tony@atomide.com>
Tue, 16 Oct 2012 18:19:16 +0000 (11:19 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Oct 2012 18:19:16 +0000 (11:19 -0700)
commit115caa08ccf93505ddfa89d30237f36b19d9cace
treec239297e91a000550e2484414e212c5312657824
parent1347743ab85deacc11378ae9a8eddeeaf6e10b63
ARM: OMAP4: Fix twd_local_timer_register regression

Commit abb6c4ed (ARM: OMAP2+: Prepare for irqs.h removal)
changed the interrupts to allow enabling sparse IRQ, but
accidentally added the omap3 INTC base to the local IRQ.
This causes the following:

twd: can't register interrupt 45 (-22)
twd_local_timer_register failed -22

The right fix is to not add any base, as it is a local
timer. For the OMAP44XX_IRQ_LOCALWDT we had defined earlier
there are no users, so no need to fix that.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c