]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: hwmod data: Fix PMU interrupt definitions
authorJon Hunter <jon-hunter@ti.com>
Sun, 7 Oct 2012 19:09:59 +0000 (13:09 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 7 Oct 2012 19:09:59 +0000 (13:09 -0600)
commit27ec4400d28da73e13ee8d9d7fdb415aaf4692cb
treebf2fe3a66f2d02e0dbe6ff6b17d6d296b6110e9f
parent68ddd2c461567f503c719688abb6d5e090e42d6b
ARM: OMAP2+: hwmod data: Fix PMU interrupt definitions

Commit abb6c4e (ARM: OMAP2+: Prepare for irqs.h removal) and commit e34bd96
(ARM: OMAP2+: Remove hardcoded IRQs and enable SPARSE_IRQ) updated the way
interrupts for OMAP2/3 devices are defined in the HWMOD data structures to
being an index plus a fixed offset (defined by OMAP_INTC_START). The definition
of the PMU interrupts on OMAP2/3 devices is missing the OMAP_INTC_START offset
and so this is causing the allocation of PMU interrupts to fail on OMAP2/3
devices. So add the offset to fix this.

This is patch is based upon Tony's master branch for OMAP.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c