mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: rockchip: ispp: fix error for diff stream on->off->on
Change-Id: I5730d1dafe0028d42dd59712b8a4d227ee70c451 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -1366,6 +1366,13 @@ static void rkispp_stream_stop(struct rkispp_stream *stream)
|
||||
if (!ret)
|
||||
v4l2_warn(&dev->v4l2_dev,
|
||||
"stream:%d stop timeout\n", stream->id);
|
||||
} else {
|
||||
/* scl stream close dma write */
|
||||
if (stream->ops->stop)
|
||||
stream->ops->stop(stream);
|
||||
else if (stream->ops->is_stopped)
|
||||
/* mb stream close dma write immediately */
|
||||
stream->ops->is_stopped(stream);
|
||||
}
|
||||
stream->is_upd = false;
|
||||
stream->streaming = false;
|
||||
|
||||
Reference in New Issue
Block a user