Skip to content
Commit 8abdeadc authored by Phil Edworthy's avatar Phil Edworthy Committed by Joe Hershberger
Browse files

net: phy: ti: Fix dp83867 RGMII_TXID interface path



There is code that is specifically for RGMII_TXID interface, but this
will never get used because the code checks that the RGMII interface
is RGMII_ID to RGMII_RXID; RGMII_TXID is after this.

To fix this and avoid similar problems in the future, use the
phy_interface_is_rgmii helper function.

Signed-off-by: default avatarPhil Edworthy <phil.edworthy@renesas.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent c25f01a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment