diff options
author | Phil Edworthy <PHIL.EDWORTHY@renesas.com> | 2016-12-12 15:27:12 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2017-02-07 10:54:34 -0600 |
commit | 3b5f52801d5de89e39b95ac155cbcda44d164240 (patch) | |
tree | 572666293b47955bfa2c3bc526535705bc015099 /drivers/watchdog | |
parent | 24d98cb42473e8842d6f29854cb1b2b4249bcfbd (diff) | |
download | u-boot-imx-3b5f52801d5de89e39b95ac155cbcda44d164240.zip u-boot-imx-3b5f52801d5de89e39b95ac155cbcda44d164240.tar.gz u-boot-imx-3b5f52801d5de89e39b95ac155cbcda44d164240.tar.bz2 |
net: phy: vitesse: Fix cis8204 RGMII_ID code
Commit 79e86ccb3786c8b20004db3fa10a70049456f580 "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: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions