diff options
author | Sam McNally <sammc@chromium.org> | 2023-02-17 14:29:38 +1100 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-21 06:20:00 +0000 |
commit | 8adc6caf9d7d1b40b310210fb0d45cf86ed9d61c (patch) | |
tree | 4790987f41454a7576dfb795bab6b3e879689edb | |
parent | 8516704778388add47febfec9a4634560dd0706b (diff) | |
download | chrome-ec-8adc6caf9d7d1b40b310210fb0d45cf86ed9d61c.tar.gz |
dibbi: Keep barrel-jack presence interrupts enabled.
BUG=b:269666578
TEST=none
BRANCH=none
Change-Id: Ie641fc103e6ff2fb31f73717599ebbfc80ad1e19
Signed-off-by: Sam McNally <sammc@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4273626
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r-- | board/dibbi/board.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/dibbi/board.c b/board/dibbi/board.c index d3358eb2ff..6f5f2c0070 100644 --- a/board/dibbi/board.c +++ b/board/dibbi/board.c @@ -314,7 +314,6 @@ int board_set_active_charge_port(int port) case CHARGE_PORT_TYPEC0: ppc_vbus_sink_enable(USBC_PORT_C0, 1); gpio_set_level(GPIO_EN_PPVAR_BJ_ADP_OD, 1); - gpio_enable_interrupt(GPIO_BJ_ADP_PRESENT); break; case CHARGE_PORT_BARRELJACK: /* Make sure BJ adapter is sourcing power */ @@ -322,7 +321,6 @@ int board_set_active_charge_port(int port) return EC_ERROR_INVAL; gpio_set_level(GPIO_EN_PPVAR_BJ_ADP_OD, 0); ppc_vbus_sink_enable(USBC_PORT_C0, 1); - gpio_disable_interrupt(GPIO_BJ_ADP_PRESENT); break; default: return EC_ERROR_INVAL; |