Skip to content
Commit f2cd50d8 authored by Dino Li's avatar Dino Li Committed by Christopher Friedt
Browse files

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: default avatarDino Li <Dino.Li@ite.com.tw>
parent e945ff23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment