Dinghao Liu b000700d6d habanalabs: Fix memleak in hl_device_reset
When kzalloc() fails, we should execute hl_mmu_fini()
to release the MMU module. It's the same when
hl_ctx_init() fails.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2020-12-29 23:23:12 +02:00
..
2020-12-15 15:57:25 -08:00
2020-12-17 13:34:25 -08:00
2020-12-07 10:29:57 +01:00
2020-12-17 13:34:25 -08:00
2020-11-04 11:49:10 +10:00
2020-07-23 12:56:49 +02:00
2020-10-28 19:12:03 +01:00
2020-08-20 13:12:59 +02:00
2020-10-28 19:12:03 +01:00