projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d3aff
)
sh: pfc: Error out on pinctrl init resolution failure.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 17 Jul 2012 06:18:37 +0000
(15:18 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 17 Jul 2012 06:18:37 +0000
(15:18 +0900)
pinctrl support is required for correct operation, failure to locate
the init routine is fatal.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/pfc/core.c
patch
|
blob
|
history
diff --git
a/drivers/sh/pfc/core.c
b/drivers/sh/pfc/core.c
index b81d33535d242c91eccff7baa8237ae66482d754..68169373c98bcd57c15b95cd0d348c25e75b154c 100644
(file)
--- a/
drivers/sh/pfc/core.c
+++ b/
drivers/sh/pfc/core.c
@@
-536,6
+536,9
@@
int register_sh_pfc(struct sh_pfc *pfc)
if (unlikely(ret != 0))
goto err;
+ } else {
+ pr_err("failed to initialize pinctrl bindings\n");
+ goto err;
}
/*