Re: [PATCH V3 6/7] ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number
From: Santosh Shilimkar <hidden>
Date: 2013-11-13 15:30:23
Also in:
linux-arm-kernel, linux-omap, lkml
From: Santosh Shilimkar <hidden>
Date: 2013-11-13 15:30:23
Also in:
linux-arm-kernel, linux-omap, lkml
On Tuesday 05 November 2013 08:14 AM, Sricharan R wrote:
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 <redacted> Cc: Rajendra Nayak <redacted> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Sricharan R <redacted> ---
Acked-by: Santosh Shilimkar <redacted>