1
0
Fork 0

phy: ti: gmii-sel: do not fail in case of gmii

The "gmii" PHY interface mode is supported on TI AM335x/437x/5xx SoCs, so
don't fail if it's selected.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
alistair/sensors
Grygorii Strashko 2020-02-14 21:08:01 +02:00 committed by Kishon Vijay Abraham I
parent eefed634eb
commit 58aa772931
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode)
break;
case PHY_INTERFACE_MODE_MII:
case PHY_INTERFACE_MODE_GMII:
gmii_sel_mode = AM33XX_GMII_SEL_MODE_MII;
break;