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

Commit fd7c4dad authored by Shubhraprakash Das's avatar Shubhraprakash Das Committed by Kyle Yan
Browse files

msm: camera: isp: Vote bandwidth to 0 when shutting vfe



When vfe is shutdown vote the bandwidth to 0 otherwise the
higher bandwidth will leak power.

Change-Id: I69e1570fe2bdb2e0b5bc14eb2dc158fe504ce921
CRs-Fixed: 999619
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 110aebe8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -315,6 +315,8 @@ void msm_vfe47_release_hardware(struct vfe_device *vfe_dev)
							vfe_dev, 0);
	vfe_dev->hw_info->vfe_ops.platform_ops.enable_regulators(vfe_dev, 0);

	msm_isp_update_bandwidth(ISP_VFE0 + vfe_dev->pdev->id, 0, 0);

	if (vfe_dev->pdev->id == 0)
		id = CAM_AHB_CLIENT_VFE0;
	else