Skip to content
Commit 589bf32f authored by Tobias Jordan's avatar Tobias Jordan Committed by David S. Miller
Browse files

net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case



add appropriate calls to clk_disable_unprepare() by jumping to out_mdio
in case orion_mdio_probe() returns -EPROBE_DEFER.

Found by Linux Driver Verification project (linuxtesting.org).

Fixes: 3d604da1 ("net: mvmdio: get and enable optional clock")
Signed-off-by: default avatarTobias Jordan <Tobias.Jordan@elektrobit.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30f1e595
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