Skip to contentSkip to conversation

fw-ohci: fix "scheduling while atomic"

PATCH New Stefan Richter 1 participant 1 message Jul 19, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fw-ohci: fix "scheduling while atomic"

Date: Thu, 12 Jul 2007 22:25:14 +0200 (CEST)
From: Stefan Richter <[email protected]>
Subject: firewire: 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.

 drivers/firewire/fw-ohci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firewire/fw-ohci.c +1 -1
Index: linux-2.6.22/drivers/firewire/fw-ohci.c
===================================================================
@@ -586,7 +586,7 @@ static void context_stop(struct context 
 			break;
 
 		fw_notify("context_stop: still active (0x%08x)\n", reg);
-		msleep(1);
+		mdelay(1);
 	}
 }
 
Signature · 3 lines
Stefan Richter
-=====-=-=== -=== =--==
http://arcgraph.de/sr/