The VB2_BUF_STATE_REQUEUEING leads to unordered behavior in vb2. The only driver that used it was the cobalt driver, and replacing VB2_BUF_STATE_REQUEUEING by VB2_BUF_STATE_ERROR is sufficient. In addition, VB2_BUF_STATE_REQUEUEING can't be used with the Request API, so removing support for this state altogether simplifies matters. Regards, Hans Hans Verkuil (2): cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR vb2: drop VB2_BUF_STATE_REQUEUEING .../media/common/videobuf2/videobuf2-core.c | 15 +++---------- .../media/common/videobuf2/videobuf2-v4l2.c | 1 - drivers/media/pci/cobalt/cobalt-irq.c | 2 +- include/media/videobuf2-core.h | 21 ++++++------------- 4 files changed, 10 insertions(+), 29 deletions(-) -- 2.20.1