Skip to content
Commit a270cc13 authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

phy: ti: phy-j721e-wiz: fix reference leaks in wiz_probe()



These two error paths need to call of_node_put(child_node) before
returning.

Fixes: edd473d4 ("phy: ti: phy-j721e-wiz: add support for j7200-wiz-10g")
Fixes: 7ae14cf5 ("phy: ti: j721e-wiz: Implement DisplayPort mode to the wiz driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarRoger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/YyxFI8aW23IC/21U@kili


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 60d9b6aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment