Skip to content
Snippets Groups Projects
Commit 845a57b4 authored by Måns Rullgård's avatar Måns Rullgård Committed by Stefano Babic
Browse files

net: fec_mxc: unregister mdio bus on probe error


If fecmxc_initialize_multi() fails, it frees but does not unregister
the mdio bus, causing subsequent uses of the "mii" command to crash.
Fix this by adding mdio_unregister() calls where needed.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
Reviewed-by: default avatarEric Nelson <eric@nelint.com>
parent 843a3e58
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment