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

net: phy: vitesse: Fix cis8204 RGMII_ID code



Commit 79e86ccb "vitesse: remove duplicated
argument to ||" correctly removed a redundant check.

However, I believe that the original code was simply wrong, and should have
been checking against RGMII_ID.

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 24d98cb4
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