aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2021-03-24 14:05:36 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-25 16:49:40 -0700
commitde9c7854e6e1589f639c6352112956d08243b659 (patch)
tree10a55d219430fbc6e19977dc546a1349f672d5e3 /net/tipc
parentnet: dsa: only unset VLAN filtering when last port leaves last VLAN-aware bridge (diff)
downloadwireguard-linux-de9c7854e6e1589f639c6352112956d08243b659.tar.xz
wireguard-linux-de9c7854e6e1589f639c6352112956d08243b659.zip
net: axienet: allow setups without MDIO
In setups with fixed-link settings there is no mdio node in DTS. axienet_probe() already handles that gracefully but lp->mii_bus is then NULL. Fix code that tries to blindly grab the MDIO lock by introducing two helper functions that make the locking conditional. Signed-off-by: Daniel Mack <daniel@zonque.org> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions