summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cros_ec.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-02-27 13:26:05 -0700
committerSimon Glass <sjg@chromium.org>2014-03-17 20:05:46 -0600
commite0dd81e3aaffa58bd45a932c4cd1511cb491714a (patch)
tree059ebd3cf9c7e26b7e10adc88f9bca5664beb45d /drivers/misc/cros_ec.c
parent4ff9b461a8c50245a611b15a4fa67784cc452a3d (diff)
downloadtalos-obmc-uboot-e0dd81e3aaffa58bd45a932c4cd1511cb491714a.tar.gz
talos-obmc-uboot-e0dd81e3aaffa58bd45a932c4cd1511cb491714a.zip
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: Che-Liang Chiou <clchiou@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/cros_ec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud