commit | 7e6330840bc0845ffc546d376a09a5eecbf10659 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Jan 26 22:48:57 2019 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 13 14:04:56 2019 -0700 |
tree | 01e25fac3f8f47fd02e8baef4deedaa68d6767a4 | |
parent | 91500a8493d6d53657a679ca61f5a165487b8965 [diff] |
net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup() [ Upstream commit c69c29a1a0a8f68cd87e98ba4a5a79fb8ef2a58c ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>