]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Fix an error handling path in airoha_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 5 Jul 2025 08:34:32 +0000 (10:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Jul 2025 15:59:24 +0000 (08:59 -0700)
commit3ef07434c7dbfba302df477bb6c70e082965f232
tree672a725770d0bb3c96ee750496480a7571bf9959
parent40c47232772e45385757e8c979d8871895c78823
net: airoha: Fix an error handling path in airoha_probe()

If an error occurs after a successful airoha_hw_init() call,
airoha_ppe_deinit() needs to be called as already done in the remove
function.

Fixes: 00a7678310fe ("net: airoha: Introduce flowtable offload support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/1c940851b4fa3c3ed2a142910c821493a136f121.1746715755.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c