mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
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>
This commit is contained in:
parent
a2d3afffd9
commit
159ac0737e
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user