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

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

Merge "clk: qcom: gdsc-regulator: return defer when mailbox is not ready"

parents 1a17751b 8bfc73ec
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -863,6 +863,8 @@ static int gdsc_probe(struct platform_device *pdev)
		sc->mbox = mbox_request_channel(&sc->mbox_client, 0);
		if (IS_ERR(sc->mbox)) {
			ret = PTR_ERR(sc->mbox);
			if (ret == -EAGAIN)
				ret = -EPROBE_DEFER;
			if (ret != -EPROBE_DEFER)
				dev_err(&pdev->dev, "mailbox channel request failed, ret=%d\n",
					ret);