aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-04-19 02:00:47 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-20 10:33:26 -0400
commit0263ea5cddedd84c111b55d33a8ec94740d1c8d3 (patch)
tree0260c91048a8ee0ad96fbfd9093cd04ba72db1ab /Documentation/devicetree
parentMerge branch 'Amiga-xsurf100' (diff)
downloadlinux-dev-0263ea5cddedd84c111b55d33a8ec94740d1c8d3.tar.xz
linux-dev-0263ea5cddedd84c111b55d33a8ec94740d1c8d3.zip
net: phy: mdio-boardinfo: Allow recursive mdiobus_register()
mdiobus_register will search for any mdiobus board info registered for the bus being registered. If found, it will probe devices on the bus. That device, if for example it is an ethernet switch, may then try to register an mdio bus. Thus we need to allow recursive calls to mdiobus_register. Holding the mdio_board_lock will cause a deadlock during this recursion. Release the lock and use list_for_each_entry_safe. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions