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

Commit cdafcc0d authored by Neeti Desai's avatar Neeti Desai
Browse files

msm: iommu: Fix typo in driver probe function



After getting the alternate iface clock, the driver
checks the error on the alternate clock rather than
alternate iface clock. Fixed this typo.

Change-Id: If0275291cc48ecb5909ec6b91033d279365a24a4
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent 360013b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -374,7 +374,7 @@ static int msm_iommu_probe(struct platform_device *pdev)
						   "qcom,needs-alt-iface-clk");
	if (needs_alt_iface_clk) {
		drvdata->aiclk = devm_clk_get(&pdev->dev, "alt_iface_clk");
		if (IS_ERR(drvdata->aclk))
		if (IS_ERR(drvdata->aiclk))
			return PTR_ERR(drvdata->aiclk);
	}