summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2019-05-10 15:57:26 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-05-12 19:27:42 -0700
commitf629e810d22a7cf96bb13f8ca0f692289f64f0f1 (patch)
treec3168f4591a24d168ea8973b82fd4898926f4fe6
parent3e2c751048cc3d4b84373b07013e7c904eb4a5d3 (diff)
downloadchrome-ec-f629e810d22a7cf96bb13f8ca0f692289f64f0f1.tar.gz
charger/rt946x: Mask out display bias interrupt.
Though there is display bias interrupt from mt6370, we don't need to handle this. Mask out the event. TEST=Connect a display and boot to AP, and see the BC1.2 work as expected. BUG=b:132401501 BRANCH=None Change-Id: I7e5eeb6b65890f65f67e535f0848ca289f452962 Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1605665 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--driver/charger/rt946x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/charger/rt946x.c b/driver/charger/rt946x.c
index b9518eec42..c48746bf71 100644
--- a/driver/charger/rt946x.c
+++ b/driver/charger/rt946x.c
@@ -127,12 +127,14 @@ static uint8_t rt946x_irqmask[RT946X_IRQ_COUNT] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFC, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+ 0xFF,
};
static const uint8_t rt946x_irq_maskall[RT946X_IRQ_COUNT] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+ 0xFF,
};
#endif