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 <woogyom.kim@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Milo Kim 2016-11-15 22:02:15 +09:00 committed by Lee Jones
parent fa9170522b
commit 93559191e7
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,8 @@ static int tps65217_irq_init(struct tps65217 *tps, int irq)
return ret;
}
enable_irq_wake(irq);
return 0;
}