diff options
author | Lorenzo Bianconi <[email protected]> | 2022-12-07 15:04:55 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-08 19:47:43 -0800 |
commit | 587585e1bbebc250d46ebb0eeaf986d9c3c01c69 (patch) | |
tree | b25ff39cdc0900ef790378b223e49d0de1f286c6 /scripts/gdb/linux | |
parent | c79e0af5ae5e4de98595983fc7e883e2ca54db11 (diff) |
net: ethernet: mtk_wed: fix possible deadlock if mtk_wed_wo_init fails
Introduce __mtk_wed_detach() in order to avoid a deadlock in
mtk_wed_attach routine if mtk_wed_wo_init fails since both
mtk_wed_attach and mtk_wed_detach run holding hw_lock mutex.
Fixes: 4c5de09eb0d0 ("net: ethernet: mtk_wed: add configure wed wo support")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions