Commit 3a2ad7bd authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Kevin Hilman
Browse files

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 7928b2cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
	}