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

Commit b1cc6806 authored by Jing Zhou's avatar Jing Zhou
Browse files

msm: isp: fixe a crash due to return code overwritten



This change fixed a crash due to return code overwritten by the error
handling code.

Change-Id: Ibdf13b331907edf8c28b9e81e5d46ce7fb02ee0f
Signed-off-by: default avatarJing Zhou <jzhou70@codeaurora.org>
parent 58be1b1f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -317,9 +317,7 @@ camss_vdd_regulator_failed:
	vfe_dev->fs_vfe = NULL;
	msm_isp_deinit_bandwidth_mgr(ISP_VFE0 + vfe_dev->pdev->id);
bus_scale_register_failed:
	rc = cam_config_ahb_clk(CAM_AHB_CLIENT_VFE, CAMERA_AHB_SUSPEND_VOTE);
	if (rc < 0)
		pr_err("%s: failed to vote for AHB\n", __func__);
	cam_config_ahb_clk(CAM_AHB_CLIENT_VFE, CAMERA_AHB_SUSPEND_VOTE);
ahb_vote_fail:
	return rc;
}