]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, olpc: Don't retry EC commands forever
authorPaul Fox <pgf@laptop.org>
Fri, 1 Oct 2010 17:17:19 +0000 (18:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 18:59:48 +0000 (10:59 -0800)
commitce04bd41d98be5b9771ba5c50e84813d986637fc
tree60e8c77b957094db8a31185577c1e08401fe09f5
parent644b2192d251acb3a44c5cf8a209ff0c6217716c
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