diff options
author | Sricharan R <r.sricharan@ti.com> | 2013-12-03 15:57:24 +0530 |
---|---|---|
committer | Sricharan R <r.sricharan@ti.com> | 2014-02-05 20:08:34 +0530 |
commit | 1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d (patch) | |
tree | 182a18117fe8ae9a823f0fb31038f12e8de0b9e0 /arch/arm/mach-omap2/omap4-common.c | |
parent | 96ca848ef7ea1be7e92d1cceb34ef3aa86053828 (diff) | |
download | linux-1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d.tar.gz linux-1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d.tar.bz2 linux-1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d.zip |
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