net: ti: icssg-prueth: Fix error cleanup on failing pruss_request_mem_region
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Nov 2023 16:13:08 +0000 (17:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2023 19:49:21 +0000 (19:49 +0000)
commit2bd5b559a1f391f05927bbb0b31381fa71c61e26
tree035bf1b972ee2164e3862a802152c38bec495763
parente409d7346648c9acff84c3cc8d291767ee2d5326
net: ti: icssg-prueth: Fix error cleanup on failing pruss_request_mem_region

We were just continuing in this case, surely not desired.

Fixes: 128d5874c082 ("net: ti: icssg-prueth: Add ICSSG ethernet driver")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/icssg/icssg_prueth.c