diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-01-15 18:17:09 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-16 20:37:11 +0000 |
commit | e4073fdb31b02c26c5d7f8a81a58bc5a393f0384 (patch) | |
tree | 656f35f96cae3f87425961822d78e61ec54aa7f1 /board/samus_pd | |
parent | fe294979d6cc80a7ab71c2997502bfa2abd2912a (diff) | |
download | chrome-ec-e4073fdb31b02c26c5d7f8a81a58bc5a393f0384.tar.gz |
samus_pd: Respond to EC_CMD_PD_HOST_EVENT_STATUS with correct data type
EC_CMD_PD_HOST_EVENT_STATUS should respond with
ec_response_host_event_status, not ec_response_pd_status.
TEST=Manual on Samus. Send EC_CMD_PD_HOST_EVENT_STATUS, verify that
resonse is four bytes.
BUG=chrome-os-partner:35510
BRANCH=Samus
Change-Id: I1a38591c7825f7e71c1fde8f3c1cab4be7852971
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/241193
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/samus_pd')
-rw-r--r-- | board/samus_pd/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samus_pd/board.c b/board/samus_pd/board.c index e9c56619cb..4dc471c538 100644 --- a/board/samus_pd/board.c +++ b/board/samus_pd/board.c @@ -739,7 +739,7 @@ DECLARE_HOST_COMMAND(EC_CMD_PD_EXCHANGE_STATUS, ec_status_host_cmd, static int host_event_status_host_cmd(struct host_cmd_handler_args *args) { - struct ec_response_pd_status *r = args->response; + struct ec_response_host_event_status *r = args->response; /* Clear host event bit to avoid sending more unnecessary events */ atomic_clear(&(pd_status.status), PD_STATUS_HOST_EVENT); |