media: rockchip: isp: fix isp32 stream force to update enable

only force to update address at stream on.
force update enable during mid-frame will be error.

Change-Id: Ia521a5f70cdd0366d667ea915abbf463df022a22
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
Cai YiWei
2022-09-01 09:27:58 +08:00
committed by Tao Huang
parent d1c880c697
commit a1cdd590aa

View File

@@ -1358,11 +1358,10 @@ static int rkisp_start(struct rkisp_stream *stream)
if (ret)
return ret;
}
stream_self_update(stream);
if (stream->ops->enable_mi)
stream->ops->enable_mi(stream);
stream_self_update(stream);
if (is_update)
dev->irq_ends_mask |= get_stream_irq_mask(stream);
stream->streaming = true;