Hi, I am working on V4L2 base videodecoder, I have two threads say A and B. Thread A is for configuration and Thread B for queuing/de-queuing buffers. In one usecase, - Thread B is blocked on VIDIOC_DQBUF, - and at same time Thread A do the flush and do, STREAMOFF, QBUF, STREAMON. Once thread A do this, Thread B waked up (as a result of STREAMOFF) and return -ERESTARTSYS (from wait_interrupt_interruptible) from DQBUF. ERESTARTSYS is for kernel internal and should not be passed to userside, and even ERESTARTSYS is not available at user side. Shouldn't VB2 catch ERESTARTSYS and return -RESTART or some other error? Thanks, Chetan Nanda -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html