msm: eva: Updated error handling in case of core init fails.

Removed release and disable subcache in case of core init fails,
as subcache deinit is done as part of load FW failure error handling
and also as part of unload FW.

Change-Id: Ic1a6bf75eacaa8a4ccb95a7155e720932a372a58
Signed-off-by: Palak Joshi <quic_palakash@quicinc.com>
此提交包含在:
Palak Joshi
2023-03-16 18:22:13 +05:30
提交者 Gerrit - the friendly Code Review server
父節點 5d31120817
當前提交 a33d13c191

查看文件

@@ -2249,11 +2249,9 @@ err_core_init:
msm_cvp_mmrm_deregister(dev);
}
err_load_fw:
__hwfence_regs_unmap(dev);
err_no_mem:
dprintk(CVP_ERR, "Core init failed\n");
__release_subcaches(device);
__disable_subcaches(device);
__hwfence_regs_unmap(dev);
mutex_unlock(&dev->lock);
pm_relax(dev->res->pdev->dev.parent);
return rc;