New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 696123 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

ec: make gpio_enable_interrupt() consistent across all chips

Project Member Reported by sha...@chromium.org, Feb 25 2017

Issue description

Consider these sequence of events:

1. GPIO is configured as level interrupt.
2. Level condition occurs.
3. gpio_enable_interrupt() is called.
Q: Does the ISR get called?

1. GPIO is configured as a level interrupt.
2. gpio_enable_interrupt() is called.
3. gpio_disable_interrut() is called.
4. Level condition occurs.
5. gpio_enable_interrupt() is called.
Q: Does the ISR get called?

I think it makes sense for the answer to be "NO" in both cases, but it's not what's implemented for npcx (and maybe other chips).
 

Comment 1 by gkihumba@google.com, Mar 31 2017

Owner: dnojiri@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment