mfd: Don't try to flag IRQ 0 as a wm831x wake source
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 May 2012 20:53:45 +0000 (21:53 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:06 +0000 (17:27 +0200)
commit4492c4c3ff7bbb5fd400f021532643a3493f0723
tree8408561470ce43a3659c149901b2858f59d15da7
parent6592ebb3979c1ec0e37eb06553ef5ce9d6f5f025
mfd: Don't try to flag IRQ 0 as a wm831x wake source

If we've not got a primary IRQ we shouldn't be trying to flag IRQ 0 as a
wake source.

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