Explorar o código

Revert "video: driver: reset last_buffer_dequeued flag for streamoff case"

This reverts commit 816f15fbcf18070b925ad0914c0723f1e845a2fe.

Change-Id: I686627e75ba9dc79b857159e85f142d3fc211745
Signed-off-by: Govindaraj Rajagopal <[email protected]>
Govindaraj Rajagopal %!s(int64=4) %!d(string=hai) anos
pai
achega
803defe0e7
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      driver/vidc/src/msm_vidc_vb2.c

+ 0 - 6
driver/vidc/src/msm_vidc_vb2.c

@@ -261,12 +261,6 @@ void msm_vidc_stop_streaming(struct vb2_queue *q)
 	}
 	i_vpr_h(inst, "Streamoff: %d\n", q->type);
 
-	/**
-	 * Clear q->last_buffer_dequeued flag to facilitate
-	 * userspace dqbuf on output port after last_flag FBD.
-	 */
-	vb2_clear_last_buffer_dequeued(&inst->vb2q[OUTPUT_META_PORT]);
-	vb2_clear_last_buffer_dequeued(&inst->vb2q[OUTPUT_PORT]);
 	if (q->type == INPUT_MPLANE) {
 		if (is_decode_session(inst))
 			rc = msm_vdec_streamoff_input(inst);