x86, olpc: Don't retry EC commands forever
commitf7ccf80244281eb78192832d075c989788f5f62f
authorPaul Fox <pgf@laptop.org>
Fri, 1 Oct 2010 17:17:19 +0000 (1 18:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:43:31 +0000 (21 12:43 -0700)
treeb707d2e16548159cc00271222d328ab275bf4cf8
parent566707d3db2f92e74c25e8f948ced035d6756f7e
x86, olpc: Don't retry EC commands forever

commit 286e5b97eb22baab9d9a41ca76c6b933a484252c upstream.

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
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/olpc.c