summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-07-12 22:07:03 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-19 00:37:13 +0300
commit4ee587e2cf8a3f31c2810c35771cb90d2e3b37f8 (patch)
tree810d483b8706654972fb5653d812ce788db38e87 /MAINTAINERS
parentcb58d18beb3cd65b66c20f913cb55c38c322457b (diff)
downloadu-boot-4ee587e2cf8a3f31c2810c35771cb90d2e3b37f8.tar.xz
net: designware: remove mdio bus on probe failure
The designware eth driver registers an mdio bus during probe, but if no PHY is found, this bus is never removed although probe failes and the driver is shown as not probed in the dm tree. This later leads to errors when e.g. the mii or mdio commands try to use available mdio buses because the mdio bus is still registered but all corresponding data structures are invalid because probe failed. Fix this by unregistering the mdio bus on probe failure (just as it is unregistered in the .remove callback, too). Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions