From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB

---
 kernel/drivers/net/phy/xilinx_gmii2rgmii.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/drivers/net/phy/xilinx_gmii2rgmii.c b/kernel/drivers/net/phy/xilinx_gmii2rgmii.c
index 151c2a3..7a78dfd 100644
--- a/kernel/drivers/net/phy/xilinx_gmii2rgmii.c
+++ b/kernel/drivers/net/phy/xilinx_gmii2rgmii.c
@@ -82,6 +82,7 @@
 
 	if (!priv->phy_dev->drv) {
 		dev_info(dev, "Attached phy not ready\n");
+		put_device(&priv->phy_dev->mdio.dev);
 		return -EPROBE_DEFER;
 	}
 

--
Gitblit v1.6.2