diff options
author | Thierry Reding <treding@nvidia.com> | 2017-03-10 17:34:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-12 23:35:19 -0700 |
commit | 6c1e5abe0780cecafdc24b64aefc84ce6924dda9 (patch) | |
tree | 7d18a9afc4e74464f9fd61352a76d5b447bf8733 /drivers/net/ethernet/cisco/enic/enic_api.c | |
parent | 9fbb9dd8eee459e810560a7d459103d865c48beb (diff) |
net: stmmac: Stop PHY and remove TX timer on error
If an error occurs while opening the device, make sure that both the TX
timer and the PHY are properly cleaned up.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/enic_api.c')
0 files changed, 0 insertions, 0 deletions