Prechádzať zdrojové kódy

kernel: rtl8261n: Correct serdes global config register

Fix typo in register for the serdes global config.

Fixes: ddb0cd276cff ("kernel: rtl8261n: add support for Serdes TX swap")
Signed-off-by: Richard Huynh <[email protected]>
[ add commit description ]
Link: https://github.com/openwrt/openwrt/pull/20465
Signed-off-by: Christian Marangi <[email protected]>
Richard Huynh 2 mesiacov pred
rodič
commit
bd180e8905

+ 1 - 1
target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c

@@ -16,7 +16,7 @@
 #define REALTEK_PHY_ID_RTL8264B         0x001CC813
 #define REALTEK_PHY_ID_RTL8264          0x001CCAF2
 
-#define REALTEK_SERDES_GLOBAL_CFG       0x1c
+#define REALTEK_SERDES_GLOBAL_CFG       0xC1
 #define   REALTEK_HSO_INV               BIT(7)
 #define   REALTEK_HSI_INV               BIT(6)