Commit 159ac0737e66f20a913248668d67444afde53b53

Authored by Paul Mundt
1 parent a2d3afffd9

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>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

drivers/sh/pfc/core.c
... ... @@ -536,6 +536,9 @@
536 536  
537 537 if (unlikely(ret != 0))
538 538 goto err;
  539 + } else {
  540 + pr_err("failed to initialize pinctrl bindings\n");
  541 + goto err;
539 542 }
540 543  
541 544 /*