Skip to content
Commit befc113c authored by Huang Guobin's avatar Huang Guobin Committed by David S. Miller
Browse files

net: ag71xx: add missed clk_disable_unprepare in error path of probe



The ag71xx_mdio_probe() forgets to call clk_disable_unprepare() when
of_reset_control_get_exclusive() failed. Add the missed call to fix it.

Fixes: d51b6ce4 ("net: ethernet: add ag71xx driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarHuang Guobin <huangguobin4@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ae372cb1
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