summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cisco/enic/enic_api.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-03-10 17:34:54 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-12 23:35:19 -0700
commit6c1e5abe0780cecafdc24b64aefc84ce6924dda9 (patch)
tree7d18a9afc4e74464f9fd61352a76d5b447bf8733 /drivers/net/ethernet/cisco/enic/enic_api.c
parent9fbb9dd8eee459e810560a7d459103d865c48beb (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