media: rockchip: vicap clean crop mask after stop stream

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I16eba981614ca49d8e4dbc5bb011d3237835c6ad
This commit is contained in:
Zefa Chen
2025-01-09 11:46:53 +08:00
committed by Tao Huang
parent 0d7d8acd16
commit f61210ec08

View File

@@ -6494,6 +6494,7 @@ void rkcif_do_stop_stream(struct rkcif_stream *stream,
kfifo_free(&stream->dcg_kfifo);
}
stream->crop_mask = 0;
}
if (mode == RKCIF_STREAM_MODE_CAPTURE) {
tasklet_disable(&stream->vb_done_tasklet);