summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-07-18 01:32:21 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-17 18:32:35 -0700
commit2ccb0161a0e9eb06f538557d38987e436fc39b8d (patch)
treecf04d853a4c8e33bfbbb75038a2b833e83ebb4aa /include
parent23e500e88723f243c27e1b26c9d035d4cdd1b24a (diff)
downloadlinux-2ccb0161a0e9eb06f538557d38987e436fc39b8d.tar.bz2
net: macb: use phy_interface_mode_is_rgmii everywhere
There is one RGMII check not using the phy_interface_mode_is_rgmii() helper. This prevents the driver from configuring the MAC properly when using a phy-mode that is not just rgmii, e.g. rgmii-rxid. This became an issue on sama5d3 xplained since the ksz9031 driver is hadling phy-mode properly and the phy-mode has to be set to rgmii-rxid. Fixes: bcf3440c6dd78bfe ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions