diff options
author | Tobias Jordan <Tobias.Jordan@elektrobit.com> | 2017-12-06 15:23:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-07 13:40:23 -0500 |
commit | 589bf32f09852041fbd3b7ce1a9e703f95c230ba (patch) | |
tree | 5e734051fef85cfb16a7b8aeacc4487e1305ef2b /net/unix | |
parent | 30f1e59550363f6be28213393407ef225150e7fe (diff) | |
download | linux-589bf32f09852041fbd3b7ce1a9e703f95c230ba.tar.bz2 |
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: 3d604da1e954 ("net: mvmdio: get and enable optional clock")
Signed-off-by: Tobias Jordan <Tobias.Jordan@elektrobit.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions