media: rockchip: vicap skip wait for stop, when work in online mode and toisp is off

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I30e822b6aea7d455765ae798f86322d4ee395d92
This commit is contained in:
Zefa Chen
2024-11-06 17:13:20 +08:00
committed by Tao Huang
parent 1a1ba04866
commit 6f772e5bec

View File

@@ -6324,8 +6324,10 @@ void rkcif_do_stop_stream(struct rkcif_stream *stream,
} else {
stream->stopping = true;
}
} else {
} else if (dev->sditf[0] && (!dev->sditf[0]->is_toisp_off)) {
stream->stopping = true;
} else {
rkcif_stream_stop(stream);
}
if (stream->stopping == true) {
if (mode == RKCIF_STREAM_MODE_TOISP && dev->sditf[0]->is_toisp_off)