diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-07-17 08:18:37 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-07-17 08:18:37 +0200 |
commit | 159ac0737e66f20a913248668d67444afde53b53 (patch) | |
tree | 9ce820f84583f14cb640f940117f075808bfc1a8 /drivers/sh | |
parent | sh: pfc: Make pr_fmt consistent across pfc drivers. (diff) | |
download | linux-159ac0737e66f20a913248668d67444afde53b53.tar.xz linux-159ac0737e66f20a913248668d67444afde53b53.zip |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/sh/pfc/core.c b/drivers/sh/pfc/core.c index b81d33535d24..68169373c98b 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; } /* |