提交 3a2ad7bd 编写于 作者: H Heiner Kallweit 提交者: Kevin Hilman

soc: amlogic: meson-gx-pwrc-vpu: don't print error message on probe deferral

The error message may be misleading in case of probe deferral
(happens on my Odroid-C2). Therefore don't print it in this case.

Fixes: 75fcb5ca "soc: amlogic: add Meson GX VPU Domains driver"
Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
Acked-by: NNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: NKevin Hilman <khilman@baylibre.com>
上级 7928b2cb
......@@ -184,6 +184,7 @@ static int meson_gx_pwrc_vpu_probe(struct platform_device *pdev)
rstc = devm_reset_control_array_get(&pdev->dev, false, false);
if (IS_ERR(rstc)) {
if (PTR_ERR(rstc) != -EPROBE_DEFER)
dev_err(&pdev->dev, "failed to get reset lines\n");
return PTR_ERR(rstc);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册