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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Gerrit - the friendly Code Review server

vecāks
5d31120817
revīzija
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;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user