commit | 209c65b61d94344522c41a83cd6ce51aac5fd0a4 | [log] [tgz] |
---|---|---|
author | Dajun Jin <adajunjin@gmail.com> | Mon Mar 02 20:24:21 2020 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 03 19:01:51 2020 -0800 |
tree | d9ee62428ec1dd6d4a075704640601e7e6826834 | |
parent | 116ca924aea664141afa86a1425edc3fcda0d06f [diff] |
drivers/of/of_mdio.c:fix of_mdiobus_register() 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>