diff options
author | Scott Collyer <scollyer@google.com> | 2018-08-01 17:15:50 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-02 17:58:50 -0700 |
commit | 70b24aad2f338f705ff4ae42150d6f7285ed9166 (patch) | |
tree | 761e8631f04dcb74c43d524b1548ba48488cac53 | |
parent | 1a0e7d1371ea2aea694e6ffc91c08dd94927bdd3 (diff) | |
download | chrome-ec-70b24aad2f338f705ff4ae42150d6f7285ed9166.tar.gz |
DragonEgg: Fix the interrupt associated with GPIO_ACOK_OD
The ISR associated with this signal was mistakenly set to
power_button_interrupt, but it needs to be extpower_interrupt. This CL
fixes the ISR association.
BUG=b:111899214
BRANCH=none
TEST=Manual
With Type C charger connected:
> chgstate
state = charge
ac = 1
batt_is_charging = 1
With Type C charger removed:
chgstate
state = discharge
ac = 0
batt_is_charging = 0
Also verified that the console message
[601.408160 running with no battery and no AC]
no longer shows up when powering up with no battery connected.
Change-Id: I9801bd6e979185824e50f90a3fd4e4efccd34b7f
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1159699
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/dragonegg/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dragonegg/gpio.inc b/board/dragonegg/gpio.inc index a8efc6e25d..fad3232c4b 100644 --- a/board/dragonegg/gpio.inc +++ b/board/dragonegg/gpio.inc @@ -12,7 +12,7 @@ GPIO_INT(LID_OPEN, PIN(F, 3), GPIO_INT_BOTH, lid_interrupt) GPIO_INT(WP_L, PIN(F, 1), GPIO_INT_BOTH, switch_interrupt) /* EC_WP_ODL */ GPIO_INT(POWER_BUTTON_L, PIN(E, 2), GPIO_INT_BOTH, power_button_interrupt) /* MECH_PWR_BTN_ODL */ -GPIO_INT(ACOK_OD, PIN(E, 3), GPIO_INT_BOTH, power_signal_interrupt) +GPIO_INT(ACOK_OD, PIN(E, 3), GPIO_INT_BOTH, extpower_interrupt) #ifdef CONFIG_LOW_POWER_IDLE /* Used to wake up the EC from Deep Doze mode when writing to console */ GPIO_INT(UART1_RX, PIN(B, 0), GPIO_INT_BOTH, uart_deepsleep_interrupt) /* UART_SERVO_TX_EC_RX */ |