mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
media: rockchip: vicap fixes error of stop stream
it may lead to iommu error Change-Id: If1b1d59f3e1ffe839ebd63b9bc06253ea20b1ec4 Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
@@ -6716,7 +6716,8 @@ void rkcif_do_stop_stream(struct rkcif_stream *stream,
|
||||
spin_unlock_irqrestore(&stream->fps_lock, flags);
|
||||
cur_time = rkcif_time_get_ns(dev);
|
||||
if (cur_time > fs_time &&
|
||||
cur_time - fs_time < (frame_time_ns - 10000000)) {
|
||||
cur_time - fs_time < (frame_time_ns - 10000000) &&
|
||||
stream->is_in_vblank) {
|
||||
rkcif_stream_stop(stream);
|
||||
} else {
|
||||
stream->stopping = true;
|
||||
|
||||
Reference in New Issue
Block a user