summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-13 00:25:14 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-19 01:53:27 +0400
commitb980f5a224f3df6c884dbf5ae48797ce352ba139 (patch)
tree72aa1bf66946172d58e2e72634a65f8126c91834 /drivers/firewire
parent362e901c65123e0e72a764fcbe6c3d6a2505c7a6 (diff)
downloadlinux-b980f5a224f3df6c884dbf5ae48797ce352ba139.tar.xz
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>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/fw-ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 996c911c81a0..db703758db98 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/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);
}
}