Merge "soc: qcom: mem-buf: Do not print errors on probe deferrals"

This commit is contained in:
qctecmdr 2020-04-03 09:15:57 -07:00 • committed by Gerrit - the friendly Code Review server
commit 635844ffdb

View file

@ -1524,8 +1524,10 @@ static int mem_buf_probe(struct platform_device *pdev)
mem_buf_hh_msgq_hdl = hh_msgq_register(HH_MSGQ_LABEL_MEMBUF);
if (IS_ERR(mem_buf_hh_msgq_hdl)) {
ret = PTR_ERR(mem_buf_hh_msgq_hdl);
dev_err(&pdev->dev,
"Message queue registration failed: rc: %d\n", ret);
if (ret != EPROBE_DEFER)
dev_err(&pdev->dev,
"Message queue registration failed: rc: %d\n",
ret);
goto err_msgq_register;
}