summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-19 09:27:37 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-09 14:27:37 -0700
commit717bb45a019dd5e298f261a316cdf3b9298b4544 (patch)
tree7fafaf5852aefaede5523126d1db0e44aa9296b5
parent3ee3cf9d25b563e1adb4e6515cb5c337b54e88fb (diff)
downloadlwn-717bb45a019dd5e298f261a316cdf3b9298b4544.tar.gz
lwn-717bb45a019dd5e298f261a316cdf3b9298b4544.zip
fw-ohci: fix "scheduling while atomic"
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>
-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 96c8ac5b86cc..05a5ff1e4b10 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -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);
}
}