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

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

Merge "msm: npu: Add support to handle EPROBE defer"

parents 9cd1f979 e7161870
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1583,8 +1583,9 @@ static int npu_parse_dt_clock(struct npu_device *npu_dev)
			sizeof(core_clks[i].clk_name));
		core_clks[i].clk = devm_clk_get(&pdev->dev, clock_name);
		if (IS_ERR(core_clks[i].clk)) {
			if (PTR_ERR(core_clks[i].clk) != -EPROBE_DEFER)
				NPU_ERR("unable to get clk: %s\n", clock_name);
			rc = -EINVAL;
			rc = PTR_ERR(core_clks[i].clk);
			break;
		}