diff mbox series

remoteproc: stm32: demote warning about optional property absence

Message ID 20200224172519.15315-1-a.fatoum@pengutronix.de (mailing list archive)
State Mainlined
Commit b1f0fa8659f333700b0ca8df7b2e33dc5d554178
Headers show
Series remoteproc: stm32: demote warning about optional property absence | expand

Commit Message

Ahmad Fatoum Feb. 24, 2020, 5:25 p.m. UTC
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>
---
 drivers/remoteproc/stm32_rproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+linux-remoteproc@kernel.org March 12, 2020, midnight UTC | #1
Hello:

This patch was applied to andersson/remoteproc.git (refs/heads/for-next).

On Mon, 24 Feb 2020 18:25:19 +0100 you wrote:
> 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>
> 
> [...]


Here is a summary with links:
  - remoteproc: stm32: demote warning about optional property absence
    https://git.kernel.org/andersson/remoteproc/c/93b2c0b30c355cc33d8946fa0f835b38435d604a

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c
index a18f88044111..2e07a95439c8 100644
--- a/drivers/remoteproc/stm32_rproc.c
+++ b/drivers/remoteproc/stm32_rproc.c
@@ -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");