mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
media: rockchip: isp: clear rdbk fifo at dmarx stop
Change-Id: If26ebfa218da49d272c1e4aa0a2e8c7e4361ba5f Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -560,6 +560,10 @@ static void dmarx_stop_streaming(struct vb2_queue *queue)
|
||||
|
||||
dmarx_stop(stream);
|
||||
destroy_buf_queue(stream, VB2_BUF_STATE_ERROR);
|
||||
|
||||
if (stream->id == RKISP_STREAM_RAWRD2 &&
|
||||
(stream->ispdev->isp_ver == ISP_V20 || stream->ispdev->isp_ver == ISP_V21))
|
||||
kfifo_reset(&stream->ispdev->rdbk_kfifo);
|
||||
}
|
||||
|
||||
static int dmarx_start_streaming(struct vb2_queue *queue,
|
||||
|
||||
Reference in New Issue
Block a user