Commit addc136ef23e4b367f20a205ac6c1ffd41dc1f8c

Vitalii Demianets 2013-10-01T19:41:55

More reasonable "stale work" timeout

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-knc-spi-fpga.c b/driver-knc-spi-fpga.c
index e16cc96..190bf9c 100644
--- a/driver-knc-spi-fpga.c
+++ b/driver-knc-spi-fpga.c
@@ -35,7 +35,7 @@
 #define WORK_MIDSTATE_WORDS	8
 #define WORK_DATA_WORDS		3
 
-#define WORK_STALE_US		5000000
+#define WORK_STALE_US		60000000
 
 struct spidev_context {
 	int fd;