x86, olpc: Don't retry EC commands forever
authorPaul Fox <pgf@laptop.org>
Fri, 1 Oct 2010 17:17:19 +0000 (18:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 8 Oct 2010 08:06:09 +0000 (10:06 +0200)
commit286e5b97eb22baab9d9a41ca76c6b933a484252c
tree41c30e43ed2566b7c4f0bc7c935fa44a8fc39d43
parent3e3c486012a3dbb113c0ca15ee265d309d77aea9
x86, olpc: Don't retry EC commands forever

Avoids a potential infinite loop.

It was observed once, during an EC hacking/debugging
session - not in regular operation.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Cc: dilinger@queued.net
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/olpc.c