mfd: mt6397: Implement wake handler and suspend/resume to handle wake up event
authorHenry Chen <henryc.chen@mediatek.com>
Mon, 10 Aug 2015 13:10:45 +0000 (21:10 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:09:11 +0000 (15:09 +0100)
commitf3151ab4a7320ce3f48955fe796bd90dd00881ab
tree9360da8758a53b9975831988047648c316f7af4d
parentd9c93f5de8c84ccbb58fd88a530b730643fbb129
mfd: mt6397: Implement wake handler and suspend/resume to handle wake up event

Implement .irq_set_wake() to get who is wakeup source and setup on suspend/reumse. Enable
mt6393_irq as wake up source properly to pinctrl by enable_irq_wake()/enable_irq_wake().

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c
include/linux/mfd/mt6397/core.h