diff mbox series

net: phy: phy_interface_t: Fix RGMII_TXID code comment

Message ID 20250316071551.9794-1-ihor.matushchak@foobox.net (mailing list archive)
State New
Headers show
Series net: phy: phy_interface_t: Fix RGMII_TXID code comment | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Ihor Matushchak March 16, 2025, 7:15 a.m. UTC
Fix copy-paste error in the code comment for Interface Mode definitions.
The code refers to Internal TX delay, not Internal RX delay. It was likely
copied from the line above this one.

Signed-off-by: Ihor Matushchak <ihor.matushchak@foobox.net>
---
 include/linux/phy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Russell King (Oracle) March 16, 2025, 9:36 a.m. UTC | #1
On Sun, Mar 16, 2025 at 08:15:51AM +0100, Ihor Matushchak wrote:
> Fix copy-paste error in the code comment for Interface Mode definitions.
> The code refers to Internal TX delay, not Internal RX delay. It was likely
> copied from the line above this one.
> 
> Signed-off-by: Ihor Matushchak <ihor.matushchak@foobox.net>

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

Thanks!
diff mbox series

Patch

diff --git a/include/linux/phy.h b/include/linux/phy.h
index 19f076a71f94..6fd4a1f2d4b0 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -89,7 +89,7 @@  extern const int phy_10gbit_features_array[1];
  * @PHY_INTERFACE_MODE_RGMII: Reduced gigabit media-independent interface
  * @PHY_INTERFACE_MODE_RGMII_ID: RGMII with Internal RX+TX delay
  * @PHY_INTERFACE_MODE_RGMII_RXID: RGMII with Internal RX delay
- * @PHY_INTERFACE_MODE_RGMII_TXID: RGMII with Internal RX delay
+ * @PHY_INTERFACE_MODE_RGMII_TXID: RGMII with Internal TX delay
  * @PHY_INTERFACE_MODE_RTBI: Reduced TBI
  * @PHY_INTERFACE_MODE_SMII: Serial MII
  * @PHY_INTERFACE_MODE_XGMII: 10 gigabit media-independent interface