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

Commit 8fae8eaa authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ais: cam_soc_api: Moved the Debug statement to the if-condition"

parents 23d37eec 8b482a3f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -670,10 +670,11 @@ void msm_camera_put_regulators(struct platform_device *pdev,
	}

	for (i = cnt - 1; i >= 0; i--) {
		if (vdd_info[i] && !IS_ERR_OR_NULL(vdd_info[i]->vdd))
		if (vdd_info[i] && !IS_ERR_OR_NULL(vdd_info[i]->vdd)) {
			devm_regulator_put(vdd_info[i]->vdd);
			CDBG("vdd ptr[%d] :%pK\n", i, vdd_info[i]->vdd);
		}
	}

	devm_kfree(&pdev->dev, *vdd_info);
	*vdd_info = NULL;