mfd: enable wakeup on twl4030 IRQ.
authorNeilBrown <neilb@suse.de>
Wed, 25 Apr 2012 03:05:24 +0000 (13:05 +1000)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 9 May 2012 16:02:51 +0000 (18:02 +0200)
commit5a2f1b5fae593dbdf4f3656ee5a5d111df3e9acb
tree24b3ad458363a8aa3ac582d99bdb1a3cec0b3501
parentbbf6adc10cb2d5a1345cc66e61b3891d42a9afbe
mfd: enable wakeup on twl4030 IRQ.

Most of the interrupts that come through this line should trigger
wakeups:
  power button
  RTC alarm
  power available
  usb plug/unplug

so mark the interrupt as a wakeup interrupt.
This is particularly important for when the interrupt arrives during
the late suspend phase.  Without this setting it will be ignored.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-irq.c