commit | 0cd6333146612c082d5035e73a9ac87a0b6a8c81 | [log] [tgz] |
---|---|---|
author | Dajun Jin <adajunjin@gmail.com> | Mon Mar 02 20:24:21 2020 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 01 11:01:51 2020 +0200 |
tree | dfaaf048f7dad2a6c1314efef45e6c92cc508a25 | |
parent | dda4fca30906f114e8efa2da0e7fdfc3f320ac0c [diff] |
drivers/of/of_mdio.c:fix of_mdiobus_register() [ Upstream commit 209c65b61d94344522c41a83cd6ce51aac5fd0a4 ] When registers a phy_device successful, should terminate the loop or the phy_device would be registered in other addr. If there are multiple PHYs without reg properties, it will go wrong. Signed-off-by: Dajun Jin <adajunjin@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>