Skip to content

Commit

Permalink
mfd: tps65217: Support an interrupt pin as the system wakeup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Milo Kim authored and Lee Jones committed Nov 29, 2016
1 parent fa91705 commit 9355919
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mfd/tps65217.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ static int tps65217_irq_init(struct tps65217 *tps, int irq)
return ret;
}

enable_irq_wake(irq);

return 0;
}

Expand Down

0 comments on commit 9355919

Please sign in to comment.