From: Jan-Bernd Themann Date: Thu, 3 Jul 2008 14:18:51 +0000 (+0100) Subject: ehea: fix race condition X-Git-Tag: v2.6.26~51^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f69ae01c83a94af5dc3c20e8135b974687ed004;p=pandora-kernel.git ehea: fix race condition When ehea_stop is called the function cancel_work_sync(&port->reset_task) is used to ensure that the reset task is not running anymore. We need an additional flag to ensure that it can not be scheduled after this call again for a certain time. Signed-off-by: Jan-Bernd Themann Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed