From 38f31459bbbbe8b74a5c808fdfa3a5319b01b63e Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Fri, 15 Jan 2021 09:50:57 -0800 Subject: CoachZ: Wake up system when stylus is attached This allows CoachZ to wake from suspend when a stylus is attached to the WLC port. BUG=b:177664326, b:173235954 BRANCH=trogdor TEST=Verified on CoachZ. Signed-off-by: Daisuke Nojiri Change-Id: I242ef509ef220e717d1888d08225cdf50b8eb217 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2633649 Reviewed-by: Vincent Palatin --- baseboard/trogdor/baseboard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'baseboard/trogdor') diff --git a/baseboard/trogdor/baseboard.h b/baseboard/trogdor/baseboard.h index a785671e8b..355d8fe771 100644 --- a/baseboard/trogdor/baseboard.h +++ b/baseboard/trogdor/baseboard.h @@ -200,7 +200,8 @@ EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC) | \ - EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE)) + EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE)) | \ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_DEVICE) /* And the MKBP events */ #ifdef HAS_TASK_KEYSCAN -- cgit v1.2.1