Commit 8e561229 authored by Yang Yingliang's avatar Yang Yingliang Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit cacd8cf7 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent da039269
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment