Commit bb8adff
r8152: Cancel hw_phy_work if we have an error in probe
The error handling in rtl8152_probe() is missing a call to cancel the
hw_phy_work. Add it in to match what's in the cleanup code in
rtl8152_disconnect().
Fixes: a028a9e ("r8152: move the settings of PHY to a work queue")
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 5dd1768 commit bb8adff
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9783 | 9783 | | |
9784 | 9784 | | |
9785 | 9785 | | |
| 9786 | + | |
9786 | 9787 | | |
9787 | 9788 | | |
9788 | 9789 | | |
| |||
0 commit comments