]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fw-ohci: fix "scheduling while atomic"
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 19 Jul 2007 07:27:37 +0000 (09:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:37 +0000 (14:27 -0700)
context_stop is called by bus_reset_tasklet, among else.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=8735.
Same as commit b980f5a224f3df6c884dbf5ae48797ce352ba139.

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

index 96c8ac5b86ccceaeed1ce0355b1f8c0c3cd1dda0..05a5ff1e4b1083984a02bbaabb18bbc8e98efe01 100644 (file)
@@ -586,7 +586,7 @@ static void context_stop(struct context *ctx)
                        break;
 
                fw_notify("context_stop: still active (0x%08x)\n", reg);
-               msleep(1);
+               mdelay(1);
        }
 }