diff --git a/driver-avalon.c b/driver-avalon.c index 0875ca58..1196702f 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -388,6 +388,8 @@ static bool avalon_wait_write(int fd) do { ret = avalon_buffer_full(fd); + if (ret) + nmsleep(50); } while (ret == true && i++ < 40); return !ret;