usb: typec: tipd: Support wakeup
authorJun Nie <jun.nie@linaro.org>
Thu, 5 Jan 2023 07:50:58 +0000 (15:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 16:23:47 +0000 (17:23 +0100)
commit481735d64794181916424a36b332bcd54bfb280b
tree51f64b6c4c812a8224cc00f5c722a61a9c0d4a6d
parent26fe745063e2d7d091020022b96a145f3a82dff8
usb: typec: tipd: Support wakeup

Enable wakeup when pluging or unpluging USB cable. It is up to other
components to hold system in active mode, such as display, so that
user can receive the notification.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230105075058.924680-2-jun.nie@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tipd/core.c