diff options
author | Wai-Hong Tam <waihong@google.com> | 2019-01-24 13:34:38 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-26 00:59:59 -0800 |
commit | 33bddd31a37375556e6b7de0f6f49be5e720741d (patch) | |
tree | 6f2a78f6ba9a4d43c2231a2fd1a4dab3b998eb8d /board | |
parent | 7964abf0165b73e80047a558ef7e2981ec265cc2 (diff) | |
download | chrome-ec-33bddd31a37375556e6b7de0f6f49be5e720741d.tar.gz |
cheza: Fix the port argument of overcurrent event
The port should be 1.
BRANCH=none
BUG=b:120231371
TEST=Made port-1 overcurrent and checked the interrupt triggered and
the message showed.
Change-Id: Ib66bae7582003df5e2f797ef9eceaa9b0ad530ca
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1437399
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cheza/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cheza/board.c b/board/cheza/board.c index 66121fc3bb..8939296dc2 100644 --- a/board/cheza/board.c +++ b/board/cheza/board.c @@ -129,7 +129,7 @@ static void ppc_interrupt(enum gpio_signal signal) static void usb1_oc_evt_deferred(void) { /* Only port-1 has overcurrent GPIO interrupt */ - board_overcurrent_event(0, 1); + board_overcurrent_event(1, 1); } DECLARE_DEFERRED(usb1_oc_evt_deferred); |