summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-07-19 18:59:22 -0700
committerGerrit <chrome-bot@google.com>2012-07-19 20:41:54 -0700
commit1911400b8b0b51614c7008df3943315eb12bab35 (patch)
treef05d5160f8ec8a028f29901ed58bae626141130c
parentf9c2d375c343febd0346900f3c8d2d016e2ec09a (diff)
downloadchrome-ec-1911400b8b0b51614c7008df3943315eb12bab35.tar.gz
daisy/snow: enable SUSPEND_L interrupt
This enables interrupts on SUSPEND_L. Signed-off-by: David Hendricks <dhendrix@chromium.org> BUG=none TEST=Power LED on Snow throbs when powerd_suspend is used Change-Id: I5f06e717ddc07d5c2f129ff59a108131da8dbf87 Reviewed-on: https://gerrit.chromium.org/gerrit/27968 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Ready: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r--common/gaia_power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/gaia_power.c b/common/gaia_power.c
index 52ff007d1a..9d009c9e98 100644
--- a/common/gaia_power.c
+++ b/common/gaia_power.c
@@ -245,6 +245,7 @@ int gaia_power_init(void)
gpio_enable_interrupt(GPIO_LID_OPEN);
gpio_enable_interrupt(GPIO_PP1800_LDO2);
gpio_enable_interrupt(GPIO_SOC1V8_XPSHOLD);
+ gpio_enable_interrupt(GPIO_SUSPEND_L);
/* auto power on if the recovery combination was pressed */
if (keyboard_scan_recovery_pressed())