commit | 7627409cc4970e8c8b9de6945ad86a575290a94e | [log] [tgz] |
---|---|---|
author | Doug Berger <opendmb@gmail.com> | Thu Mar 09 16:58:46 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 09 18:39:01 2017 -0800 |
tree | 93bbc395d16f65147b9b928cd058ee2387ebdab4 | |
parent | eca4bad73409aedc6ff22f823c18b67a4f08c851 [diff] |
net: bcmgenet: power down internal phy if open or resume fails Since the internal PHY is powered up during the open and resume functions it should be powered back down if the functions fail. Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file") Signed-off-by: Doug Berger <opendmb@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>