rtc: mt6397: implement suspend/resume function in rtc-mt6397 driver
authorHenry Chen <henryc.chen@mediatek.com>
Thu, 30 Jul 2015 14:53:14 +0000 (22:53 +0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:08 +0000 (13:19 +0200)
commitd7f9777de884daf5721211bddfd21e7c8c156b17
treef717b6ebb8db04993a20792093c7bb961c81f5f0
parent3ee2c40b7ac2bf121aaa1176d8ac25b6a26e3a94
rtc: mt6397: implement suspend/resume function in rtc-mt6397 driver

Implement the suspend/resume function in order to control rtc's irq_wake flag and handle as wakeup source.

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Acked-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-mt6397.c