Skip to content

Commit e6c5e26

Browse files
mcatee-infineonkartben
authored andcommitted
drivers: allow disabling gpio interrupt in ifx-cat1 gpio driver
- allow GPIO_INT_MODE_DISABLED in interrupt_configure function Signed-off-by: McAtee Maxwell <[email protected]>
1 parent 1613b5a commit e6c5e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio_ifx_cat1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static int gpio_cat1_pin_interrupt_configure(const struct device *dev, gpio_pin_
203203
break;
204204

205205
default:
206-
return -ENOTSUP;
206+
break;
207207
}
208208

209209
Cy_GPIO_SetInterruptEdge(base, pin, trig_pdl);

0 commit comments

Comments
 (0)