commit | c69c29a1a0a8f68cd87e98ba4a5a79fb8ef2a58c | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Jan 26 22:48:57 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 27 23:03:38 2019 -0800 |
tree | 37cc3609ae7bb45dc80cbf4f6af770deab3c325f | |
parent | 417c8045c1e9d1a8697052342606ed596835e5e5 [diff] |
net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup() If phy_power_on() fails in rk_gmac_powerup(), clocks are left enabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>