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>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
5d31120817
incheckning
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;
|
||||
|
Referens i nytt ärende
Block a user