[PATCH 6.1 043/194] media: v4l2-mem2mem: add lock to protect parameter num_rdy