mfd: max77686: Add suspend/resume callback function for alarm wake-up.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Tue, 22 Apr 2014 04:56:18 +0000 (13:56 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:28:36 +0000 (07:28 +0200)
commit5b9b45c2481fa202368a7f402a6fd15da1785eb3
tree65930f4b3b18f919d40f5f0d3f50b76b589074e3
parent56851b1b8a3757832dd62b48ad7edaf68dbd13f8
mfd: max77686: Add suspend/resume callback function for alarm wake-up.

While system is resuming, Max77686's Alarm IRQ should be handled after resuming
of i2c controller. It disables IRQ in suspend callback funtion and enables
it in resume callback to postpone handling.

Change-Id: I69f5af2f8b63748853d0ba8a67f0cbb661e1ffcd
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
drivers/mfd/max77686.c