commit | c6e4a862b3c0fd05f18ab7464a2773c2a7f09253 | [log] [tgz] |
---|---|---|
author | Måns Rullgård <mans@mansr.com> | Tue Dec 08 15:38:46 2015 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Sun Jan 03 15:28:06 2016 +0100 |
tree | c7852b06bfc4b93872f284ec6a439613dcbe9cae | |
parent | 4aeddb7fd4923bf779b9f9d8bd997a04d2159c6c [diff] |
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: Mans Rullgard <mans@mansr.com> Reviewed-by: Eric Nelson <eric@nelint.com>