From 7d243492fd5600cb67abcd0a248e97e96f15b353 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Fri, 13 Jan 2023 18:03:26 +0000 Subject: [PATCH] Don't report an ENODEV condition as an error when getting a delay. --- player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player.c b/player.c index e526f66e..15fa80a0 100644 --- a/player.c +++ b/player.c @@ -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); } }