]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: arc: Don't free Rockchip resources before disconnect from phy
authorRomain Perier <romain.perier@gmail.com>
Wed, 10 Sep 2014 07:51:13 +0000 (07:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 20:03:00 +0000 (13:03 -0700)
commit880d2f7a2ce76587596583f54fe4c41a52864cd2
tree937a8f3500c81a9c9e4bd73c7d3166ec0e2bb057
parent62b8cbec0a1585429e2b52f4982ce3de882840b9
net: ethernet: arc: Don't free Rockchip resources before disconnect from phy

Free resources before being disconnected from phy and calling core driver is
wrong and should not happen. It avoids a delay of 4-5s caused by the timeout of
phy_disconnect().

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_rockchip.c