diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-09-14 10:37:54 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-21 19:37:03 -0700 |
commit | 05d387da7873d318d20a5480a761ae35866630a0 (patch) | |
tree | f4e36caae155799ee98c12c893cbd80527b705cd /include/device_state.h | |
parent | 7d430cde7ee6f39e55b5b7ef2863c1263f699eaf (diff) | |
download | chrome-ec-05d387da7873d318d20a5480a761ae35866630a0.tar.gz |
cr50: remove unused detect_off interrupt
The interrupts to detect when the falling edge on the UART signals are
currently disabled and never reenabled. Power off is detected by polling
and not through interrupts. This change removes all of those falling
edge interrupts.
BUG=none
BRANCH=none
TEST=cr50 can detect when the EC, AP, and Servo are off or on
Change-Id: I0fd8a0d970f3235b26af6b90dd395ea7c75e0c17
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/385192
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/device_state.h')
-rw-r--r-- | include/device_state.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/device_state.h b/include/device_state.h index d7ff0661dc..1ad78f002c 100644 --- a/include/device_state.h +++ b/include/device_state.h @@ -21,8 +21,7 @@ struct device_config { enum device_state state; /* Device status */ /* Deferred handler to detect power off */ const struct deferred_data *deferred; - enum gpio_signal detect_on; /* GPIO detecting power on */ - enum gpio_signal detect_off; /* GPIO detecting power off */ + enum gpio_signal detect; /* GPIO detecting power on */ }; enum device_type; |