[svn-commits] sruffell: linux/trunk r8093 - /linux/trunk/drivers/dahdi/vpmadt032_loader/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 25 11:33:53 CST 2010


Author: sruffell
Date: Thu Feb 25 11:33:49 2010
New Revision: 8093

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8093
Log:
voicebus: Fix for commit r8003.

Revision 8003 added timeouts when loading the firmware, but there was an error
in the timeout logic and also the timeout wasn't waiting long enough.

Modified:
    linux/trunk/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c

Modified: linux/trunk/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c?view=diff&rev=8093&r1=8092&r2=8093
==============================================================================
--- linux/trunk/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c (original)
+++ linux/trunk/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c Thu Feb 25 11:33:49 2010
@@ -116,7 +116,7 @@
 	pci_set_drvdata(vb->pdev, ctx);
 	old = vb->ops;
 	vb->ops = &loader_operations;
-	if (wait_for_completion_timeout(&ctx->done, HZ*2))
+	if (!wait_for_completion_timeout(&ctx->done, HZ*20))
 		ret = -EIO;
 	vb->ops = old;
 	pci_set_drvdata(vb->pdev, old_drvdata);




More information about the svn-commits mailing list