Skip to content
Snippets Groups Projects
Commit e0dd81e3 authored by Simon Glass's avatar Simon Glass
Browse files

cros_ec: Support systems with no EC interrupt


Some systems do not have an EC interrupt. Rather than assuming that the
interrupt is always present, and hanging forever waiting for more input,
handle the missing interrupt. This works by reading key scans only until
we get an identical one. This means the EC keyscan FIFO is empty.

Tested-by: default avatarChe-Liang Chiou <clchiou@chromium.org>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 4ff9b461
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment