summaryrefslogtreecommitdiff
path: root/drivers/phy/ti/phy-ti-pipe3.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-02 15:56:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-02 15:56:14 +0300
commit9e6a90790357e8b468445f5c549c498126cedefb (patch)
tree18aea6eef6b5017768ed9ffb4b3d582133c7a80f /drivers/phy/ti/phy-ti-pipe3.c
parent1e70d57e7285996bcf0a226eac8c5ba43a89f85d (diff)
parent672c0c5173427e6b3e2a9bbb7be51ceeec78093a (diff)
downloadlinux-9e6a90790357e8b468445f5c549c498126cedefb.tar.xz
Merge 5.18-rc5 into tty-next
We need the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/ti/phy-ti-pipe3.c')
-rw-r--r--drivers/phy/ti/phy-ti-pipe3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/ti/phy-ti-pipe3.c b/drivers/phy/ti/phy-ti-pipe3.c
index 2cbc91e535d4..f502c36f3be5 100644
--- a/drivers/phy/ti/phy-ti-pipe3.c
+++ b/drivers/phy/ti/phy-ti-pipe3.c
@@ -696,6 +696,7 @@ static int ti_pipe3_get_sysctrl(struct ti_pipe3 *phy)
}
control_pdev = of_find_device_by_node(control_node);
+ of_node_put(control_node);
if (!control_pdev) {
dev_err(dev, "Failed to get control device\n");
return -EINVAL;