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

Commit 969fd9d8 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pcie: Allow NULL as a valid return value for icc_get"

parents 7ee1e2f5 e51dedbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3805,7 +3805,7 @@ static int msm_pcie_get_resources(struct msm_pcie_dev_t *dev,
	PCIE_DBG(dev, "PCIe: RC%d: entry\n", dev->rc_idx);

	dev->icc_path = of_icc_get(&pdev->dev, "icc_path");
	if (IS_ERR_OR_NULL(dev->icc_path)) {
	if (IS_ERR(dev->icc_path)) {
		ret = dev->icc_path ? PTR_ERR(dev->icc_path) : -EINVAL;

		PCIE_ERR(dev, "PCIe: RC%d: failed to get ICC path: %d\n",