summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap4-common.c
diff options
context:
space:
mode:
authorSricharan R <r.sricharan@ti.com>2013-12-03 14:27:24 +0400
committerSricharan R <r.sricharan@ti.com>2014-02-05 18:38:34 +0400
commit1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d (patch)
tree182a18117fe8ae9a823f0fb31038f12e8de0b9e0 /arch/arm/mach-omap2/omap4-common.c
parent96ca848ef7ea1be7e92d1cceb34ef3aa86053828 (diff)
downloadlinux-1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d.tar.xz
ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number
The wakeup gen mask/unmask callback uses the irq element of the irq_data to setup. The irq is the linux virtual irq number and is same as the hardware irq number only when the parent irqchip is setup as a legacy domain. When it is used as a linear domain, the virtual irqs are allocated dynamically and wakeup gen code cannot rely on these numbers to access the irq registers. Instead use the hwirq element of the irq_data which represent the physical irq number. Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Rajendra Nayak <rnayak@ti.com> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Sricharan R <r.sricharan@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/omap4-common.c')
0 files changed, 0 insertions, 0 deletions