commit | 161c8d2f50109b44b664eaf23831ea1587979a61 | [log] [tgz] |
---|---|---|
author | Krzysztof Halasa <khc@pm.waw.pl> | Thu Dec 25 16:50:41 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 25 16:50:41 2008 -0800 |
tree | 1d9b2b4aaa72296f98c449e6f955ade61e84ed02 | |
parent | f7d1b9f5aafa371d7f51f644aa3c38bc914e9205 [diff] |
net: PHYLIB mdio fixes #2 The PHYLIB mdio code has more problems in error paths: - mdiobus_release can be called before bus->state is set to MDIOBUS_REGISTERED - mdiobus_scan allocates resources which need to be freed - the comment is wrong, the resistors used are actually pull-ups. Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: David S. Miller <davem@davemloft.net>