Browse Source

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>
Stefan Richter 18 years ago
parent
commit
b980f5a224
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/firewire/fw-ohci.c

+ 1 - 1
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);
 	}
 }