Skip to content
Commit a9bfd28a authored by Vincent Wan's avatar Vincent Wan Committed by Kumar Gala
Browse files

drivers: gpio_cc32xx: disable interrupts before changing interrupt type



Disabling gpio interrupts on the pin prior to changing its interrupt
type to level-based helps prevent spurious interrupts that would be
otherwise observed, if gpio interrupts were originally enabled when
gpio_cc32xx_pin_interrupt_configure() is invoked.

Fixes #22847

Signed-off-by: default avatarVincent Wan <vincent.wan@linaro.org>
parent ce5c6843
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment