瀏覽代碼

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 4 年之前
父節點
當前提交
803defe0e7
共有 1 個文件被更改,包括 0 次插入6 次删除
  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);