Commit 7027e36f authored by Drew Fustini's avatar Drew Fustini Committed by Linus Walleij
Browse files

pinctrl: th1520: Fix return value for unknown pin error



Fix th1520_pinctrl_dt_node_to_map() to set the return value before
jumping to free_configs when an unknown pin error occurs.

Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202410022336.xyWlV0Tf-lkp@intel.com/


Signed-off-by: default avatarDrew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/20241008-th1520-pinctrl-fixes-v3-1-5b60db446a49@tenstorrent.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 26948688
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment