Commit 435bf44e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Zheng Zengkai
Browse files

phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()

stable inclusion
from stable-5.10.50
commit 25c7efb3875a0ffd66608d9011fbd93902a6f6aa
bugzilla: 174522 https://gitee.com/openeuler/kernel/issues/I4DNFY

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=25c7efb3875a0ffd66608d9011fbd93902a6f6aa



--------------------------------

[ Upstream commit f7eedcb8 ]

Add an error handling path in the probe to release some resources, as
already done in the remove function.

Fixes: 609adde8 ("phy: Add a driver for dm816x USB PHY")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/ac5136881f6bdec50be19b3bf73b3bc1b15ef1f1.1622898974.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ee9ca5b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment