mfd: arizona: Try to use interrupt flags from interrupt controller
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Mar 2013 23:16:56 +0000 (23:16 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Apr 2013 13:20:58 +0000 (15:20 +0200)
commit22c75fe7c772c4c47df47364d9e807dcf204d7c2
tree1133bd6fced33aad6506911ce97977af3257c21c
parent3092f8050eccce8463afe771f0910634a433e24b
mfd: arizona: Try to use interrupt flags from interrupt controller

If no irq_flags are passed in platform data then query the interrupt
controller for the trigger type and try to use that. This provides
default operation with a wider range of hardware and will be needed
for device tree support where the interrupt flags are configured on
the interrupt controller.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/arizona-irq.c