Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeb4d2a8 authored by chiz's avatar chiz Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: fix overflow during stop axi stream



In dual VFE case, VFE0 and VFE1 will have different behavior
during stoping pix stream. We should disable write master sync
to ensure both VFEs stop as expected.

Change-Id: Ib63b52a948e526e0d2518cb563a4fc4d67340d0f
Signed-off-by: default avatarchiz <chiz@codeaurora.org>
CRs-Fixed: 977856
parent 99d7b718
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1246,7 +1246,9 @@ void msm_isp_axi_stream_update(struct vfe_device *vfe_dev,
		else if (axi_data->stream_info[i].state == START_PENDING ||
			axi_data->stream_info[i].state == STOP_PENDING) {
			msm_isp_axi_stream_enable_cfg(
				vfe_dev, &axi_data->stream_info[i], 1);
				vfe_dev, &axi_data->stream_info[i],
				axi_data->stream_info[i].state ==
				START_PENDING ? 1 : 0);
			axi_data->stream_info[i].state =
				axi_data->stream_info[i].state ==
				START_PENDING ? STARTING : STOPPING;