projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa91705
)
mfd: tps65217: Support an interrupt pin as the system wakeup
author
Milo Kim
<woogyom.kim@gmail.com>
Tue, 15 Nov 2016 13:02:15 +0000
(22:02 +0900)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:40 +0000
(08:21 +0000)
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>
drivers/mfd/tps65217.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tps65217.c
b/drivers/mfd/tps65217.c
index 73760906681cd39cb8607f953111f3fdc0d653d4..f769c7d4e335ac20da4db26ae5d7eb024d0b9987 100644
(file)
--- 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;
}