MLK-17217 usb: typec: tcpci: system wakeup source support
authorLi Jun <jun.li@nxp.com>
Wed, 9 Jan 2019 09:22:14 +0000 (14:52 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit39d859b9f942750a6eb58883d651c4f27bb0c4d2
treeabf4edf85a7ad250c6505b94a12ebe546a9c7e9e
parente9618288a7e7cbd1372e03dd8fc8dac33ae458c7
MLK-17217 usb: typec: tcpci: system wakeup source support

As GPIO normally can be system wakeup source, so enable typec events
as system wakeup source if user requested.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Vipul: Fixes for 4.19 kernel.
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/usb/typec/tcpci.c