Don't report an ENODEV condition as an error when getting a delay.

This commit is contained in:
Mike Brady
2023-01-13 18:03:26 +00:00
parent c2e4ab29f1
commit 7d243492fd
+2 -2
View File
@@ -2645,8 +2645,8 @@ void *player_thread_func(void *arg) {
conn->connection_number);
}
} else {
if (resp != -EBUSY) // delay errors can be reported if the device is (hopefully
// temporarily) busy
if ((resp != -EBUSY) && (resp != -ENODEV)) // delay and not-there errors can be reported if the device is (hopefully
// temporarily) busy or unavailable
debug(1, "Delay error %d when checking running latency.", resp);
}
}