remoteproc: stm32: demote warning about optional property absence
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Mon, 24 Feb 2020 17:25:19 +0000 (18:25 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 26 Mar 2020 05:29:42 +0000 (22:29 -0700)
The mainline device trees lack the "st,syscfg-pdds", so probing the
driver always throws the warning. As the property is optional per binding
and the driver can deal with its absence, demote the warning to info log
level.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/20200224172519.15315-1-a.fatoum@pengutronix.de
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/stm32_rproc.c

index 9a8b5f5e2572d51bf62a0ff18a1ded4585ea4a29..6a66dbf2df407db0371649d219b5a55247f32a86 100644 (file)
@@ -602,7 +602,7 @@ static int stm32_rproc_parse_dt(struct platform_device *pdev)
 
        err = stm32_rproc_get_syscon(np, "st,syscfg-pdds", &ddata->pdds);
        if (err)
-               dev_warn(dev, "failed to get pdds\n");
+               dev_info(dev, "failed to get pdds\n");
 
        rproc->auto_boot = of_property_read_bool(np, "st,auto-boot");