media: rk-isp10: add timestamp to vb buffer

Change-Id: I4549465811737caf00332fb2ca32c4d36f072728
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
This commit is contained in:
Hu Kejun
2018-12-21 09:53:49 +08:00
committed by Tao Huang
parent de08c9ce95
commit 26d92177fc

View File

@@ -4420,6 +4420,7 @@ static int cif_isp10_mi_frame_end(
bool wake_now;
vb2_buf = &stream->curr_buf->vb.vb2_buf;
v4l2_get_timestamp(&stream->curr_buf->vb.timestamp);
vb2_buffer_done(vb2_buf, VB2_BUF_STATE_DONE);
wake_now = false;