diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-05-05 20:39:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-07 14:59:02 +0100 |
commit | 27c1eaa07283b0c94becf8241f95368267cf558b (patch) | |
tree | 53f23687a1ce1ffd4e0abf794b39d17ce546a16e /lib/zstd | |
parent | 424f8416bb39936df6365442d651ee729b283460 (diff) | |
download | linux-stable-27c1eaa07283b0c94becf8241f95368267cf558b.tar.gz linux-stable-27c1eaa07283b0c94becf8241f95368267cf558b.tar.bz2 linux-stable-27c1eaa07283b0c94becf8241f95368267cf558b.zip |
net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
Should of_mdiobus_register() fail, a previous usb_get_dev() call should be
undone as in the .disconnect function.
Fixes: 04e37d92fbed ("net: phy: add marvell usb to mdio controller")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/zstd')
0 files changed, 0 insertions, 0 deletions