[Armadeus-commitlog] SF.net SVN: armadeus:[1151] trunk/buildroot/target/device/armadeus/linux/ ker
Brought to you by:
sszy
|
From: <th...@us...> - 2009-03-12 10:01:05
|
Revision: 1151
http://armadeus.svn.sourceforge.net/armadeus/?rev=1151&view=rev
Author: thom25
Date: 2009-03-12 10:00:55 +0000 (Thu, 12 Mar 2009)
Log Message:
-----------
[LINUX] MCP2515 driver: fix startup delay to a long enough value
Modified Paths:
--------------
trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/088-can-mcp2515.patch
Modified: trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/088-can-mcp2515.patch
===================================================================
--- trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/088-can-mcp2515.patch 2009-03-12 09:19:38 UTC (rev 1150)
+++ trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/088-can-mcp2515.patch 2009-03-12 10:00:55 UTC (rev 1151)
@@ -639,7 +639,7 @@
+ /* Wait whilst the device wakes up */
+ int i = 200 * (128 * USEC_PER_SEC / pdata->oscillator_frequency);
+ if( i> 1000 ) /*large delay, use mdelay*/
-+ mdelay( (i+500)/1000);
++ mdelay(10);
+ else
+ udelay(i);
+ priv->wake = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|