[PATCH v2 2/4] I/OAT: Increase sleep time in ioat_dma_self_test
From: Maciej Sosnowski
Date: Fri Jul 18 2008 - 11:38:34 EST
Sleep time in self_test has been increased to 10ms
since in some cases 1ms appeared not to be enough.
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@xxxxxxxxx>
---
drivers/dma/ioat_dma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c
index f1d6382..2fe3aac 100644
--- a/drivers/dma/ioat_dma.c
+++ b/drivers/dma/ioat_dma.c
@@ -1331,7 +1331,7 @@ static int ioat_dma_self_test(struct ioa
goto free_resources;
}
device->common.device_issue_pending(dma_chan);
- msleep(1);
+ msleep(10);
if (device->common.device_is_tx_complete(dma_chan, cookie, NULL, NULL)
!= DMA_SUCCESS) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/