mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
media: rockchip: isp: fix isp32 stream buf update double
Change-Id: Ie6d5e6a411f071777756da6e92cc451507118236 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -763,11 +763,11 @@ static void update_mi(struct rkisp_stream *stream)
|
||||
if (!ISP3X_ISP_OUT_LINE(rkisp_read(dev, ISP3X_ISP_DEBUG2, true))) {
|
||||
stream->ops->enable_mi(stream);
|
||||
stream->is_pause = false;
|
||||
}
|
||||
stream_self_update(stream);
|
||||
if (!stream->curr_buf) {
|
||||
stream->curr_buf = stream->next_buf;
|
||||
stream->next_buf = NULL;
|
||||
stream_self_update(stream);
|
||||
if (!stream->curr_buf) {
|
||||
stream->curr_buf = stream->next_buf;
|
||||
stream->next_buf = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (stream->is_pause) {
|
||||
|
||||
Reference in New Issue
Block a user