summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-12 22:25:14 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-18 23:53:27 +0200
commitb980f5a224f3df6c884dbf5ae48797ce352ba139 (patch)
tree72aa1bf66946172d58e2e72634a65f8126c91834 /drivers
parent362e901c65123e0e72a764fcbe6c3d6a2505c7a6 (diff)
downloadlinux-3.10-b980f5a224f3df6c884dbf5ae48797ce352ba139.tar.gz
linux-3.10-b980f5a224f3df6c884dbf5ae48797ce352ba139.tar.bz2
linux-3.10-b980f5a224f3df6c884dbf5ae48797ce352ba139.zip
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')
-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 996c911c81a..db703758db9 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);
}
}