diff options
author | Qiheng Lin <[email protected]> | 2022-12-03 15:02:59 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-12-06 11:50:49 +0100 |
commit | 7b8232bdb1789a257de3129a9bb08c69b93a17db (patch) | |
tree | 8cb3801207a52170bf9a42abc8960ce2de13fa38 /lib/mpi/mpi-mod.c | |
parent | ee496694b9eea651ae1aa4c4667d886cdf74aa3b (diff) |
net: microchip: sparx5: Fix missing destroy_workqueue of mact_queue
The mchp_sparx5_probe() won't destroy workqueue created by
create_singlethread_workqueue() in sparx5_start() when later
inits failed. Add destroy_workqueue in the cleanup_ports case,
also add it in mchp_sparx5_remove()
Fixes: b37a1bae742f ("net: sparx5: add mactable support")
Signed-off-by: Qiheng Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions