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: NMans Rullgard <mans@mansr.com> Reviewed-by: NEric Nelson <eric@nelint.com>
Showing
想要评论请 注册 或 登录