From: Sricharan R Date: Tue, 3 Dec 2013 10:27:24 +0000 (+0530) Subject: ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number X-Git-Tag: omap-for-v3.15/crossbar-signed^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc4b1a92c0a5057045d1cb8a135ea6385eafd3d;p=pandora-kernel.git 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 Cc: Rajendra Nayak Cc: Tony Lindgren Signed-off-by: Sricharan R Acked-by: Santosh Shilimkar Acked-by: Linus Walleij --- Reading git-diff-tree failed