Explorar o código

Merge "msm: camera: isp: Release mutex in case of error" into camera-kernel.lnx.7.0

Camera Software Integration hai 1 ano
pai
achega
377e4bf094

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

@@ -5458,7 +5458,7 @@ int cam_ife_csid_ver2_start(void *hw_priv, void *args,
 		if (rc) {
 			CAM_ERR(CAM_ISP, "Failed in setting cesta clk rates, client_idx:%d rc:%d",
 				csid_hw->hw_intf->hw_idx, rc);
-			return rc;
+			goto end;
 		}
 
 		if (csid_hw->sync_mode != CAM_ISP_HW_SYNC_SLAVE) {