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: chiz <chiz@codeaurora.org>
CRs-Fixed: 977856
This commit is contained in:
chiz 2015-12-01 13:22:48 +08:00 committed by David Keitel
parent 77fe07b29f
commit f87adb2565

View file

@ -1263,7 +1263,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;