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

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

Merge "msm: camera: ope: Stop OPE in case of init failure" into camera-kernel.lnx.3.1

parents deda1e5d a140ad5f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2355,6 +2355,10 @@ static int cam_ope_mgr_acquire_hw(void *hw_priv, void *hw_acquire_args)
			if (hw_mgr->ope_dev_intf[i]->hw_ops.deinit(
				hw_mgr->ope_dev_intf[i]->hw_priv, NULL, 0))
				CAM_ERR(CAM_OPE, "OPE deinit fail");
			if (hw_mgr->ope_dev_intf[i]->hw_ops.stop(
				hw_mgr->ope_dev_intf[i]->hw_priv,
				NULL, 0))
				CAM_ERR(CAM_OPE, "OPE stop fail");
		}
	}
end: