Commits

Laurentiu Palcu committed 77babdd93a2
MLK-14612 media: capture: fix VIDIOC_DQBUF issues The following commit, in 4.9 kernel: commit 2d7007153f0c ("[media] media: videobuf2: Restructure vb2_buffer") added some changes to the v4l2 structures that were not properly included in the existing driver after the rebase from 4.1. Hence, when a new buffer was filled by the v4l2 core, the flags field in vb2_v4l2_buffer structure contained a pointer and, depending on the pointer value, the v4l2 core considered that the buffer was already dequeued, signaling the error to userspace. The issue appeared intermittently, after multiple reboots. This patch fixes it. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>