diff options
author | Mary Ruthven <mruthven@chromium.org> | 2017-06-09 13:27:58 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-13 15:12:33 -0700 |
commit | 1cd8daa66495674f8ee09ac40b5568a4f0c6afad (patch) | |
tree | f8c6ef73839d86cf9e4620adbac2fc992371a404 /include/gpio.h | |
parent | 9ebcc894be1f3cc0c48f52ed203affb66e01f1dd (diff) | |
download | chrome-ec-1cd8daa66495674f8ee09ac40b5568a4f0c6afad.tar.gz |
g: don't enable interrupts in gpio_set_flags_by_mask
All other chips rely on gpio_enable_interrupt to enable interrupts. They
aren't enabled by default. This changes chip/g to match that.
If chip/g boards have interrupts, they also enable them in the
init_interrupts function in board.c. Nothing needs to be added to enable
interrupts.
BUG=b:35587228
BRANCH=cr50
TEST=use 'gpiocfg' to verify the setup hasn't changed.
Change-Id: I1e975999e0174b9dcbbe63c09c6110dc4161f8ff
Reviewed-on: https://chromium-review.googlesource.com/530006
Commit-Ready: Mary Ruthven <mruthven@chromium.org>
Tested-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/gpio.h b/include/gpio.h index edffb73156..195f644d67 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -33,8 +33,6 @@ #define GPIO_ALTERNATE (1 << 17) /* GPIO used for alternate function. */ #define GPIO_LOCKED (1 << 18) /* Lock GPIO output and configuration */ #define GPIO_HIB_WAKE_HIGH (1 << 19) /* Hibernate wake on high level */ -#define GPIO_INT_DISABLE (1 << 20) /* Don't enable interrupt in */ - /* gpio_pre_init */ /* Common flag combinations */ #define GPIO_OUT_LOW (GPIO_OUTPUT | GPIO_LOW) |