diff options
author | Mulin Chao <mlchao@nuvoton.com> | 2017-03-03 09:48:25 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-03 01:32:21 -0800 |
commit | 9c24fac50542e2a391f509dad98303667c82c655 (patch) | |
tree | aeae1370b0e9742238f699b4c4a7b2e9cf7da745 /include/charge_state.h | |
parent | c45402564f732b4bd6e6f780d255223105d24163 (diff) | |
download | chrome-ec-9c24fac50542e2a391f509dad98303667c82c655.tar.gz |
npcx: gpio: Fixed bug GPIO's ISRs clear the other pending bits.
Since the interrupts of MIWU group E/F/G/H of table 0 are the same
(interrupt 11), we need to handle LPCs' and GPIOs' events at the
same ISR. But we also found there is a leak that ec has the chance
to skip the other events which don't belong to GPIOs unexpectedly.
(For example, LRESET and eSPI Reset) This CL fixed this issue by
only clearing pending bits belong to GPIOs in their ISRs.
BRANCH=none
BUG=b:35648154
TEST=passed warm-reset testing on pyro over 12 hours.
Change-Id: Ie626db00b54cff566798b4a593f6b0267a6fadc2
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/449472
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/charge_state.h')
0 files changed, 0 insertions, 0 deletions