From: Stefan Richter Date: Thu, 12 Jul 2007 20:25:14 +0000 (+0200) Subject: firewire: fw-ohci: fix "scheduling while atomic" X-Git-Tag: v2.6.23-rc1~487 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b980f5a224f3df6c884dbf5ae48797ce352ba139;p=linux-2.6 firewire: fw-ohci: fix "scheduling while atomic" context_stop is called by bus_reset_tasklet, among else. Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 996c911c81..db703758db 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c @@ -587,7 +587,7 @@ static void context_stop(struct context *ctx) break; fw_notify("context_stop: still active (0x%08x)\n", reg); - msleep(1); + mdelay(1); } }