From: Milo Kim Date: Tue, 15 Nov 2016 13:02:15 +0000 (+0900) Subject: mfd: tps65217: Support an interrupt pin as the system wakeup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93559191e71bc0f862638b0a9644d4592452a5db;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mfd: tps65217: Support an interrupt pin as the system wakeup TPS65217 INT pin is used for the system wakeup from suspend mode. This patch enables push button or charger input event as a wakeup source. Signed-off-by: Milo Kim Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c index 73760906681c..f769c7d4e335 100644 --- a/drivers/mfd/tps65217.c +++ b/drivers/mfd/tps65217.c @@ -183,6 +183,8 @@ static int tps65217_irq_init(struct tps65217 *tps, int irq) return ret; } + enable_irq_wake(irq); + return 0; }