mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: unsecure heaps in the right order during error handling
Unsecure MM and CP heaps in the right order in case of failure CRs-Fixed: 445400 Change-Id: I2b5d414c5d9f109740a931b75b0cfbdb196c465f Signed-off-by: Praveen Chavan <pchava@codeaurora.org>
This commit is contained in:
parent
04e554807c
commit
9af8e0b88c
1 changed files with 2 additions and 2 deletions
|
@ -1032,9 +1032,9 @@ int res_trk_open_secure_session()
|
|||
mutex_unlock(&resource_context.secure_lock);
|
||||
return 0;
|
||||
unsecure_cmd_heap:
|
||||
msm_ion_unsecure_heap(ION_HEAP(resource_context.memtype));
|
||||
unsecure_memtype_heap:
|
||||
msm_ion_unsecure_heap(ION_HEAP(resource_context.cmd_mem_type));
|
||||
unsecure_memtype_heap:
|
||||
msm_ion_unsecure_heap(ION_HEAP(resource_context.memtype));
|
||||
disable_iommu_clks:
|
||||
res_trk_disable_iommu_clocks();
|
||||
error_open:
|
||||
|
|
Loading…
Reference in a new issue