On Tue, Nov 3, 2020 at 6:48 PM Hans Verkuil <hverkuil-cisco@xxxxxxxxx> wrote: > There is one other place where this needs to be tested: testEvents() in > v4l2-test-controls.cpp: currently this only tests select(), but there > should be a second epoll test here as well that just tests EPOLLPRI. > > This would catch drivers that do not stream (i.e. no EPOLLIN/OUT) but > that do have controls (so support EPOLLPRI). IIUC this part should not require fixing - EPOLLPRI is behaving properly, the bug is only with EPOLLIN/EPOLLOUT.