Skip to content

drivers: gpio: sch: implementation does not configure interrupt level/edge #12763

@pabigot

Description

@pabigot

gpio_sch.c configures for interrupts but does not inspect the trigger type (GPIO_INT_LEVEL vs GPIO_INT_EDGE). It should do so and should diagnose if one of those triggers is not supported.

As implemented the driver will behave correctly only for level-triggered interrupts (GPIO_INT_EDGE is the non-default configuration).

Metadata

Metadata

Assignees

Labels

area: GPIObugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions