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

Commit 14843e09 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: icp: Reset current clock in power collapse" into camera-kernel.lnx.1.0

parents ca43bc27 b4b2ab4a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1741,6 +1741,7 @@ static int cam_icp_mgr_ipe_bps_power_collapse(struct cam_icp_hw_mgr *hw_mgr,
			bps_dev_intf->hw_ops.deinit
				(bps_dev_intf->hw_priv, NULL, 0);
			hw_mgr->bps_clk_state = false;
			hw_mgr->clk_info[ICP_CLK_HW_BPS].curr_clk = 0;
		}
	} else {
		CAM_DBG(CAM_PERF, "ipe ctx cnt %d", hw_mgr->ipe_ctxt_cnt);
@@ -1776,6 +1777,7 @@ static int cam_icp_mgr_ipe_bps_power_collapse(struct cam_icp_hw_mgr *hw_mgr,
		}

		hw_mgr->ipe_clk_state = false;
		hw_mgr->clk_info[ICP_CLK_HW_IPE].curr_clk = 0;
	}

end: