Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1522661
| From | Milo Kim <woogyom.kim@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/5] mfd: tps65217: Support an interrupt pin as the system wakeup |
| Date | 2016-11-15 14:10 +0100 |
| Message-ID | <sDLES-5lG-39@gated-at.bofh.it> (permalink) |
| References | <sDLES-5lG-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/mfd/tps65217.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c index 7376090..f769c7d 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; } -- 2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 5/5] mfd: tps65217: Support an interrupt pin as the system wakeup Milo Kim <woogyom.kim@gmail.com> - 2016-11-15 14:10 +0100 Re: [PATCH 5/5] mfd: tps65217: Support an interrupt pin as the system wakeup Lee Jones <lee.jones@linaro.org> - 2016-11-22 16:50 +0100
csiph-web