summaryrefslogtreecommitdiff
path: root/board/congatec/cgtqmx6eval/cgtqmx6eval.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2015-12-08 15:38:46 +0000
committerStefano Babic <sbabic@denx.de>2016-01-03 15:28:06 +0100
commit845a57b4de972aefb21bf7f13b23d472bccb6afb (patch)
treec7852b06bfc4b93872f284ec6a439613dcbe9cae /board/congatec/cgtqmx6eval/cgtqmx6eval.c
parent843a3e5893a713a3df752d30d31861d5b03ad75c (diff)
downloadu-boot-imx-845a57b4de972aefb21bf7f13b23d472bccb6afb.zip
u-boot-imx-845a57b4de972aefb21bf7f13b23d472bccb6afb.tar.gz
u-boot-imx-845a57b4de972aefb21bf7f13b23d472bccb6afb.tar.bz2
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>
Diffstat (limited to 'board/congatec/cgtqmx6eval/cgtqmx6eval.c')
0 files changed, 0 insertions, 0 deletions