mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.22.y] fw-ohci: fix "scheduling while atomic"
@ 2007-07-19  7:27 Stefan Richter
  0 siblings, 0 replies; only message in thread
From: Stefan Richter @ 2007-07-19  7:27 UTC (permalink / raw)
  To: stable; +Cc: linux-kernel, Kristian Høgsberg

Date: Thu, 12 Jul 2007 22:25:14 +0200 (CEST)
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
Subject: firewire: fw-ohci: fix "scheduling while atomic"

context_stop is called by bus_reset_tasklet, among else.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
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(-)

Index: linux-2.6.22/drivers/firewire/fw-ohci.c
===================================================================
--- linux-2.6.22.orig/drivers/firewire/fw-ohci.c
+++ 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);
 	}
 }
 

-- 
Stefan Richter
-=====-=-=== -=== =--==
http://arcgraph.de/sr/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-19  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-19  7:27 [PATCH 2.6.22.y] fw-ohci: fix "scheduling while atomic" Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®