alsa-utils/axfer
Takashi Sakamoto 9af7148fa3 axfer: fix regression of timeout in timer-based scheduling model
In timer-based scheduling model, event waiting is just to measure time
elapse since no event is expected to occur. However, as a result to
applying commit e5e6a7838b, -ETIMEDOUT returns in the case and
the caller handles it as error. This results in disorder of the
scheduling model.

This commit fixes the regression so that the -ETIMEDOUT case is expected.

Reported-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/alsa-devel/687f9871-7484-1370-04d1-9c968e86f72b@linux.intel.com/
Fixes: e5e6a7838b ("axfer: return ETIMEDOUT when no event occurs after waiter expiration")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-13 16:47:09 +02:00
..
test axfer: test: reduce test case for maximum number of samples per frame 2021-03-11 09:30:02 +01:00
axfer-list.1 axfer: add a section to describe compatibility to aplay(1) 2018-12-07 10:55:01 +01:00
axfer-transfer.1 treewide: fix typos in manual pages 2020-10-06 13:07:29 +02:00
axfer.1 axfer: add a section about unit test 2019-01-29 16:43:09 +01:00
container-au.c axfer: add support for a container of Sparc AU format 2018-11-13 12:04:23 +01:00
container-raw.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container-riff-wave.c axfer: remove unused variable warnings 2019-05-27 15:37:05 +02:00
container-voc.c axfer: Fix creation of v1.2 headers on big-endian systems 2019-05-07 08:28:31 +02:00
container.c axfer: maintain lifetime of file descriptor outside of container module 2021-03-11 09:28:12 +01:00
container.h axfer: maintain lifetime of file descriptor outside of container module 2021-03-11 09:28:12 +01:00
frame-cache.c axfer: coverity fixes 2019-03-13 14:42:42 +01:00
frame-cache.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
main.c axfer: print help text of command entry 2018-12-07 10:56:10 +01:00
Makefile.am axfer: add a manual for transfer subcommand 2018-12-07 10:54:55 +01:00
mapper-multiple.c axfer: mapper: fix parameter check for demuxer 2019-07-31 15:57:28 +02:00
mapper-single.c axfer: add support for a mapper for single target 2018-11-13 12:04:27 +01:00
mapper.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper.h axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
misc.h axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
subcmd-list.c treewide: Fix printf formats 2019-11-20 19:46:17 +01:00
subcmd-transfer.c axfer: maintain lifetime of file descriptor outside of container module 2021-03-11 09:28:12 +01:00
subcmd.h axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
waiter-epoll.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter-poll.c axfer: add an implementation of waiter for poll(2) 2018-11-13 12:04:50 +01:00
waiter-select.c axfer: fix to return error code when a call of select(2) fails 2019-10-30 13:13:22 +01:00
waiter.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter.h axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
xfer-libasound-irq-mmap.c Avoid pointer arithmetic on void * 2020-02-10 12:38:52 +01:00
xfer-libasound-irq-rw.c axfer: handle -ETIMEDOUT before non-block I/O operation 2019-10-30 13:13:22 +01:00
xfer-libasound-timer-mmap.c axfer: fix regression of timeout in timer-based scheduling model 2021-05-13 16:47:09 +02:00
xfer-libasound.c axfer: return ETIMEDOUT when no event occurs after waiter expiration 2019-10-30 13:13:22 +01:00
xfer-libasound.h axfer: add support for timer-based scheduling model with MMAP operation 2018-11-13 12:04:51 +01:00
xfer-libffado.c treewide: Fix printf formats 2019-11-20 19:46:17 +01:00
xfer-options.c treewide: Fix printf formats 2019-11-20 19:46:17 +01:00
xfer.c axfer: enable each backend to print own help 2018-12-07 10:57:44 +01:00
xfer.h axfer: enable each backend to print own help 2018-12-07 10:57:44 +01:00