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

Commit 120d2618 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa3: fix the double ipa3_pre_init issue



With smmu enabling, ipa3_pre_init is actually
probed twice and causing the crash, the fix
is to do only once.

Change-Id: I20bd718c8cb70029c4dd46c52dbece326b90ef80
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 450bd44d
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -5134,7 +5134,6 @@ int ipa3_plat_drv_probe(struct platform_device *pdev_p,
			IPAERR("DMA set mask failed\n");
			return -EOPNOTSUPP;
		}
	}

		if (!ipa3_bus_scale_table)
			ipa3_bus_scale_table = msm_bus_cl_get_pdata(pdev_p);
@@ -5145,6 +5144,7 @@ int ipa3_plat_drv_probe(struct platform_device *pdev_p,
			IPAERR("ipa3_init failed\n");
			return result;
		}
	}

	return result;
}