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

Commit c30b1bc0 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: camera: isp: Increment stats active counter



The stats active counter was not being incremented, fix it.

CRs-Fixed: 1084238
Change-Id: I07b3c000836955eab9cf2273ce535c4317b3f166
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 77029f97
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1089,12 +1089,12 @@ static int msm_isp_start_stats_stream(struct vfe_device *vfe_dev_ioctl,
		stats_mask |= 1 << idx;
		for (k = 0; k < stream_info->num_isp; k++) {
			vfe_dev = stream_info->vfe_dev[k];
			if (update_vfes[vfe_dev->pdev->id])
				continue;
			update_vfes[vfe_dev->pdev->id] = vfe_dev;
			stats_data = &vfe_dev->stats_data;
			if (update_vfes[vfe_dev->pdev->id] == NULL) {
				update_vfes[vfe_dev->pdev->id] = vfe_dev;
				num_active_streams[vfe_dev->pdev->id] =
					stats_data->num_active_stream;
			}
			stats_data->num_active_stream++;
		}