diff options
author | Ben Lok <ben.lok@mediatek.com> | 2015-08-31 14:35:01 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-08-31 22:59:52 -0700 |
commit | c2cf0fb198feea043a331e5d2156979d23f1aa46 (patch) | |
tree | 606be714410424767317523693737dd7748a7920 /test | |
parent | a030c63bafb3e18619b2ec325c0a6b2de3c4bfe7 (diff) | |
download | chrome-ec-c2cf0fb198feea043a331e5d2156979d23f1aa46.tar.gz |
oak: enable MBKP events for PD events
(refer to CL:273620) enable the MKBP event feature to send host event
and wire up the PD specific events.
But, CONFIG_MKBP_EVENT conflicts with CONFIG_KEYBOARD_PROTOCOL_MKBP,
due to the GPIO name of EC interrupt pin. Align the GPIO naming of EC
interrupt pin to EC_INT_L.
BRANCH=none
BUG=chrome-os-partner:44643
TEST=On Oak rev3, plug/unplug USB devices and add kernel trace to see
the PD events happening.
Change-Id: I10de9c6611583bb6165bdc1848e542d4b8bba954
Signed-off-by: Ben Lok <ben.lok@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/296012
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/kb_mkbp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kb_mkbp.c b/test/kb_mkbp.c index fc7a9255de..e1abcc3adb 100644 --- a/test/kb_mkbp.c +++ b/test/kb_mkbp.c @@ -31,7 +31,7 @@ void host_send_response(struct host_cmd_handler_args *args) void gpio_set_level(enum gpio_signal signal, int level) { - if (signal == GPIO_EC_INT) + if (signal == GPIO_EC_INT_L) ec_int_level = !!level; } |