mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: isp1: fix buf done state
Change-Id: Idc2fc19c3972935d6991bd6d6af10e1f9cdbd7e7 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -1433,7 +1433,7 @@ static void destroy_buf_queue(struct rkisp1_stream *stream,
|
||||
buf = list_first_entry(&stream->buf_queue,
|
||||
struct rkisp1_buffer, queue);
|
||||
list_del(&buf->queue);
|
||||
vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR);
|
||||
vb2_buffer_done(&buf->vb.vb2_buf, state);
|
||||
}
|
||||
spin_unlock_irqrestore(&stream->vbq_lock, lock_flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user