summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-07-17 15:18:37 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-07-17 15:18:37 +0900
commit159ac0737e66f20a913248668d67444afde53b53 (patch)
tree9ce820f84583f14cb640f940117f075808bfc1a8 /drivers/sh
parenta2d3afffd98f9cafa87d7efa57cba0d86abfad87 (diff)
downloadop-kernel-dev-159ac0737e66f20a913248668d67444afde53b53.zip
op-kernel-dev-159ac0737e66f20a913248668d67444afde53b53.tar.gz
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: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/pfc/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/sh/pfc/core.c b/drivers/sh/pfc/core.c
index b81d335..6816937 100644
--- 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;
}
/*
OpenPOWER on IntegriCloud