From: Stefan Richter Date: Thu, 19 Jul 2007 07:27:37 +0000 (+0200) Subject: fw-ohci: fix "scheduling while atomic" X-Git-Tag: v2.6.22.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717bb45a019dd5e298f261a316cdf3b9298b4544;p=thirdparty%2Fkernel%2Fstable.git fw-ohci: fix "scheduling while atomic" context_stop is called by bus_reset_tasklet, among else. Fixes http://bugzilla.kernel.org/show_bug.cgi?id=8735. Same as commit b980f5a224f3df6c884dbf5ae48797ce352ba139. Signed-off-by: Stefan Richter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 96c8ac5b86ccc..05a5ff1e4b108 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c @@ -586,7 +586,7 @@ static void context_stop(struct context *ctx) break; fw_notify("context_stop: still active (0x%08x)\n", reg); - msleep(1); + mdelay(1); } }