Commit 02d71eafcc22c0ca68fec445eeafb968c8f3b60d

Vitalii Demianets 2013-12-23T17:53:20

knc: Disable flush functionality in FPGA - we are loosing 3% of good shares because of it

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/driver-knc-spi-fpga.c b/driver-knc-spi-fpga.c
index c91b378..836890d 100644
--- a/driver-knc-spi-fpga.c
+++ b/driver-knc-spi-fpga.c
@@ -883,9 +883,9 @@ static void knc_flush_work(struct cgpu_info *cgpu)
 		knc_active_fifo_inc_idx(&next_read_a);
 	}
 
-	len = _internal_knc_flush_fpga(knc);
+/*	len = _internal_knc_flush_fpga(knc);
 	if (len > 0)
-		knc_process_response(NULL, cgpu, &spi_rxbuf);
+		knc_process_response(NULL, cgpu, &spi_rxbuf); */
 	mutex_unlock(&knc->lock);
 }