An interrupted syscall is not an error when returning from poll(). --- audio/pcm_bluetooth.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index ff463fe..799f17f 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -237,9 +237,11 @@ iter_sleep: ret = poll(fds, 2, poll_timeout); if (ret < 0) { - SNDERR("poll error: %s (%d)", strerror(errno), errno); - if (errno != EINTR) + if (errno != EINTR) { + SNDERR("poll error: %s (%d)", strerror(errno), + errno); break; + } } else if (ret > 0) { ret = (fds[0].revents) ? 0 : 1; SNDERR("poll fd %d revents %d", ret, fds[ret].revents); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html