firewire: fw-ohci: fix "scheduling while atomic"
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 12 Jul 2007 20:25:14 +0000 (22:25 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 18 Jul 2007 21:53:27 +0000 (23:53 +0200)
context_stop is called by bus_reset_tasklet, among else.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c

index 996c911c81a03b9397cb9b3cef664614045ec4da..db703758db98c3ec0a7f26067e6d410f3fe770c7 100644 (file)
@@ -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);
        }
 }