summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm8994-irq.c
AgeCommit message (Collapse)Author
2010-04-05mfd: Add WM8994 interrupt controller supportMark Brown
The WM8994 has an interrupt controller which supports interrupts for both CODEC and GPIO portions of the chip. Support this using genirq, while allowing for systems that do not have an interrupt hooked up. Wrapper functions are provided for the IRQ request and free to simplify the code in consumer drivers when handling cases where IRQs are not set up. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>