aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_main.c
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-11-22 22:44:51 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-25 10:43:40 -0800
commit32085f25d7b68404055f3525c780142fc72e543f (patch)
treea87d4b58580b71cf638eb0cc586c3db7a03f691b /drivers/net/dsa/sja1105/sja1105_main.c
parentsctp: cache netns in sctp_ep_common (diff)
downloadlinux-dev-32085f25d7b68404055f3525c780142fc72e543f.tar.xz
linux-dev-32085f25d7b68404055f3525c780142fc72e543f.zip
mdio_bus: don't use managed reset-controller
Geert Uytterhoeven reported that using devm_reset_controller_get leads to a WARNING when probing a reset-controlled PHY. This is because the device devm_reset_controller_get gets supplied is not actually the one being probed. Acquire an unmanaged reset-control as well as free the reset_control on unregister to fix this. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> CC: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David Bauer <mail@david-bauer.net> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_main.c')
0 files changed, 0 insertions, 0 deletions