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

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

Merge "msm: camera: ife: Null pointer check for dump_data" into camera-kernel.lnx.4.0

parents b7de35c2 496cf578
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -405,6 +405,12 @@ static int cam_vfe_hw_dump(
		return -ENOSPC;
	}
	dump_data = top_priv->common_data.dump_data;

	if (!dump_data) {
		CAM_ERR(CAM_ISP, "Dump data not available");
		return -EINVAL;
	}

	soc_info = top_priv->common_data.soc_info;

	/*Dump registers */