commit | f2cd50d8ea01809d4a150127b5d2b4ea14bd45a4 | [log] [tgz] |
---|---|---|
author | Dino Li <Dino.Li@ite.com.tw> | Tue Jul 27 11:31:22 2021 +0800 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Wed Jul 28 21:10:40 2021 -0400 |
tree | 5a98e4229e31082bdfbf7dbc6230a3295f7b440b | |
parent | e945ff2314fbb0435b07b0b3d04a8faf59acb4ad [diff] |
gpio: it8xxx2: disable irq before configuring pin interrupt Fixed the following assertion causing by high level functions enable gpio interrupt at the same pin at least two times: ASSERTION FAIL [!arch_irq_is_enabled(irq)] @ ZEPHYR_BASE/arch/common/sw_isr_common.c:84 IRQ xxx is enabled Signed-off-by: Dino Li <Dino.Li@ite.com.tw>