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/phy/hisilicon/phy-hisi-inno-usb2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/phy/hisilicon/phy-hisi-inno-usb2.c b/kernel/drivers/phy/hisilicon/phy-hisi-inno-usb2.c
index 34a6a9a..897c6bb 100644
--- a/kernel/drivers/phy/hisilicon/phy-hisi-inno-usb2.c
+++ b/kernel/drivers/phy/hisilicon/phy-hisi-inno-usb2.c
@@ -153,7 +153,7 @@
phy_set_drvdata(phy, &priv->ports[i]);
i++;
- if (i > INNO_PHY_PORT_NUM) {
+ if (i >= INNO_PHY_PORT_NUM) {
dev_warn(dev, "Support %d ports in maximum\n", i);
break;
}
--
Gitblit v1.6.2