commit | 472a0d5bc8ec20eda9d1abe89b24acf6a8c78f04 | [log] [tgz] |
---|---|---|
author | Branislav Radocaj <branislav@radocaj.org> | Thu Dec 07 00:07:38 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 25 11:05:48 2018 +0100 |
tree | 178d92fce7c2edd149255a2094c848da321e6f64 | |
parent | 31d3d76094a1e07f21a89b4b30a41bae86c292e5 [diff] |
net: ethernet: arc: fix error handling in emac_rockchip_probe [ Upstream commit e46772a6946a7d1f3fbbc1415871851d6651f1d4 ] If clk_set_rate() fails, we should disable clk before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Branislav Radocaj <branislav@radocaj.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>