diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-02-14 21:08:01 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2020-02-20 18:06:57 +0530 |
commit | 58aa7729310db04ffcc022c98002dd8fcb486c58 (patch) | |
tree | 967020987b9fcf3f7f45ad8a770a11f2d4e73aef /drivers/phy | |
parent | eefed634eb61e4094b9fb8183cb8d43b26838517 (diff) | |
download | linux-58aa7729310db04ffcc022c98002dd8fcb486c58.tar.bz2 |
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>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/ti/phy-gmii-sel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c index e998e9cd8d1f..1c536fc03c83 100644 --- a/drivers/phy/ti/phy-gmii-sel.c +++ b/drivers/phy/ti/phy-gmii-sel.c @@ -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; |