diff options
author | Liang He <windhl@126.com> | 2022-07-12 14:14:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-21 21:24:28 +0200 |
commit | 4225a78eb4d75b88831b3038947fd659763926cb (patch) | |
tree | a2c1a37f8822f73d9b1ab1cf2c5e79e0ac75e763 /drivers/usb/cdns3/cdns3-plat.c | |
parent | 0d17723afea3ae8c9f245c9bbd2ba5945b77e812 (diff) |
net: ftgmac100: Hold reference returned by of_get_child_by_name()
[ Upstream commit 49b9f431ff0d845a36be0b3ede35ec324f2e5fee ]
In ftgmac100_probe(), we should hold the refernece returned by
of_get_child_by_name() and use it to call of_node_put() for
reference balance.
Fixes: 39bfab8844a0 ("net: ftgmac100: Add support for DT phy-handle property")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions