Commit 159ac073 authored by Paul Mundt's avatar Paul Mundt

sh: pfc: Error out on pinctrl init resolution failure.

pinctrl support is required for correct operation, failure to locate
the init routine is fatal.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent a2d3afff
...@@ -536,6 +536,9 @@ int register_sh_pfc(struct sh_pfc *pfc) ...@@ -536,6 +536,9 @@ int register_sh_pfc(struct sh_pfc *pfc)
if (unlikely(ret != 0)) if (unlikely(ret != 0))
goto err; goto err;
} else {
pr_err("failed to initialize pinctrl bindings\n");
goto err;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment