Commit 5dd1768
r8152: Run the unload routine if we have errors during probe
The rtl8152_probe() function lacks a call to the chip-specific
unload() routine when it sees an error in probe. Add it in to match
the cleanup code in rtl8152_disconnect().
Fixes: ac718b6 ("net/usb: new driver for RTL8152")
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent a5feba7 commit 5dd1768
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9783 | 9783 | | |
9784 | 9784 | | |
9785 | 9785 | | |
| 9786 | + | |
| 9787 | + | |
9786 | 9788 | | |
9787 | 9789 | | |
9788 | 9790 | | |
| |||
0 commit comments