Browse Source

Wait till buffer is cleared after sending idle tasks to avalon before returning from avalon_idle.

Con Kolivas 12 years ago
parent
commit
b790153990
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-avalon.c

+ 1 - 0
driver-avalon.c

@@ -494,6 +494,7 @@ static void avalon_idle(struct cgpu_info *avalon, struct avalon_info *info,
 				 info->frequency);
 		avalon_send_task(fd, &at, avalon);
 	}
+	wait_avalon_ready(fd);
 }
 
 static bool avalon_detect_one(const char *devpath)