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: Shubhraprakash Das <sadas@codeaurora.org>
This commit is contained in:
parent
77029f9744
commit
c30b1bc021
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
num_active_streams[vfe_dev->pdev->id] =
|
||||
stats_data->num_active_stream;
|
||||
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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue