summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-01-10 15:39:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-11 00:20:42 -0800
commitb0630ce9f4bf891c8a09879dfedb88039b0cc0d3 (patch)
tree8230de7f12c4cc5edfc34be586338580d0ec513b
parent66477c9767646e3a47a4fa1d8dc670bde72275e3 (diff)
downloadchrome-ec-b0630ce9f4bf891c8a09879dfedb88039b0cc0d3.tar.gz
power: Fix interrupt enable in siglog_deferred
Recent eSPI change (d813935) resulted in siglog_deferred leaving interrupts disabled. BUG=b:71764538 BRANCH=none TEST=apshutdown on grunt, see power signal changes Change-Id: I33e234ad7191af92e2c4ffef700fc5b9356c3c71 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/860571 Commit-Ready: Aaron Durbin <adurbin@google.com> Tested-by: Aaron Durbin <adurbin@google.com> Reviewed-by: Aaron Durbin <adurbin@google.com>
-rw-r--r--power/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/common.c b/power/common.c
index ddde0427f6..258631f4f5 100644
--- a/power/common.c
+++ b/power/common.c
@@ -563,7 +563,7 @@ static void siglog_deferred(void)
/* Okay, turn 'em on again. */
for (i = 0; i < POWER_SIGNAL_COUNT; i++)
- power_signal_disable_interrupt(power_signal_list[i].gpio);
+ power_signal_enable_interrupt(power_signal_list[i].gpio);
}
DECLARE_DEFERRED(siglog_deferred);