Commit cacd8cf7 authored by Yang Yingliang's avatar Yang Yingliang Committed by Linus Walleij
Browse files

pinctrl: single: fix missing error code in pcs_probe()



If pinctrl_enable() fails in pcs_probe(), it should return the error code.

Fixes: 8f773bfb ("pinctrl: single: fix possible memory leak when pinctrl_enable() fails")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/20240819024625.154441-1-yangyingliang@huaweicloud.com


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