Skip to content
Commit e46772a6 authored by Branislav Radocaj's avatar Branislav Radocaj Committed by David S. Miller
Browse files

net: ethernet: arc: fix error handling in emac_rockchip_probe



If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarBranislav Radocaj <branislav@radocaj.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 589bf32f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment