]> git.baikalelectronics.ru Git - kernel.git/commit
ARM i.MX25: Make timer irq work again
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 18 Sep 2012 08:05:31 +0000 (10:05 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 18 Sep 2012 14:46:50 +0000 (16:46 +0200)
commitf17e96995312eae34678560ddf2d82e8f498772d
treea1f3863aeee88b10556c4b609a8a5e9324841959
parenta33ed6461ab987d92fd0208da3c8eb0da27d42f7
ARM i.MX25: Make timer irq work again

Since i.MX has SPARSE_IRQ enabled the i.MX25 timer is broken. This
is because the internal irqs now start at an offset of NR_IRQS_LEGACY.
The patch fixed this up, but missed the i.MX25 timer which used a
hardcoded value instead of a define. This patch introduces a define
for the timer irq and uses it.

This is broken since introduced with 3.6-rc1:

| commit ad364aa8e75f0ed7c142c107b5b0b04a6e733d9a
| Author: Shawn Guo <shawn.guo@linaro.org>
| Date:   Thu Jun 14 11:16:14 2012 +0800
|
|    ARM: imx: enable SPARSE_IRQ for imx platform

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx25.c
arch/arm/plat-mxc/include/mach/mx25.h