net: sun8i-emac: fix MDIO frequency
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 3 Jun 2021 07:52:41 +0000 (07:52 +0000)
committerRamon Fried <rfried.dev@gmail.com>
Fri, 18 Jun 2021 08:29:17 +0000 (11:29 +0300)
commit02036d90ec10510c8218aad463a332a50c3528c4
tree03dd440701684c499677feeab062d5609893439b
parenteab447b2b5d3d357f07a28150b13862b1c26b2e2
net: sun8i-emac: fix MDIO frequency

Commit 4f0278dac56a ("net: sun8i-emac: Lower MDIO frequency") leads to
network failure on the OrangePi PC.

    => dhcp
    sun8i_emac_eth_start: Timeout

According to the commit message the change of the MDIO frequency is only
required for external PHYs.

Fixes: 4f0278dac56a ("net: sun8i-emac: Lower MDIO frequency")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/net/sun8i_emac.c