aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorSricharan R <[email protected]>2013-12-03 15:57:24 +0530
committerSricharan R <[email protected]>2014-02-05 20:08:34 +0530
commit1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d (patch)
tree182a18117fe8ae9a823f0fb31038f12e8de0b9e0 /lib/string_helpers.c
parent96ca848ef7ea1be7e92d1cceb34ef3aa86053828 (diff)
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 <[email protected]> Cc: Rajendra Nayak <[email protected]> Cc: Tony Lindgren <[email protected]> Signed-off-by: Sricharan R <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Acked-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions