input: ab8500-ponkey: Create AB8500 domain IRQ mapping
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Jul 2012 07:35:37 +0000 (08:35 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 16 Jul 2012 13:56:45 +0000 (15:56 +0200)
commitca3b3faf9bee4dc5df4f10eae2d1e48f7de0a8ad
treed4dc16e8192886a318c72202e7b7cbcf9e202f33
parent18273c5b463d9f98ef81f1a6217a7f4168dd809a
input: ab8500-ponkey: Create AB8500 domain IRQ mapping

Before we can use any domain allocated IRQ, we need to first create a
map between the Hardware IRQ (hwirq) and the Linux Virtual IRQ (virq).
We do this with a helper function provided by the AB8500 IRQ domain
controller called ab8500_irq_get_virq(). We need to do this for both
IRQs which the Power-On-Key driver uses; one for button press, the other
for button depress.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/input/misc/ab8500-ponkey.c
This page took 0.026174 seconds and 5 git commands to generate.