diff options
author | Yilun Lin <yllin@google.com> | 2018-08-28 14:01:09 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-29 11:15:12 -0700 |
commit | ef49faaec2e4ccbdccb49f75248ae3ce5ab15141 (patch) | |
tree | 73391d6d16b33d400c100c7660af379c07658b99 | |
parent | ebd269748fe11b8671f10fcefa188bc4ac1b23c8 (diff) | |
download | chrome-ec-ef49faaec2e4ccbdccb49f75248ae3ce5ab15141.tar.gz |
charger/mt6370: Fix wrong init IRQ mask.
DPDM_IRQ_MASK register address should be at 0xE6, rather than 0xE5.
Shift the mask init value to the right address.
TEST=make BOARD=kukui flash_ec; Attach DCP. Check chgsup type=3.
BUG=b:80160408
BRANCH=None
Change-Id: I44eac570bf2d8fe11a3f460ed97f024f4be3813a
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1192862
Commit-Ready: Yilun Lin <yllin@chromium.org>
Tested-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r-- | driver/charger/rt946x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/charger/rt946x.c b/driver/charger/rt946x.c index 2fbac37629..cf22186ca8 100644 --- a/driver/charger/rt946x.c +++ b/driver/charger/rt946x.c @@ -125,7 +125,7 @@ enum rt946x_irq { static uint8_t rt946x_irqmask[RT946X_IRQ_COUNT] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, + 0xFF, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }; |