mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: Remove unncessary unmap function calls
Calling unncessary unmap function resulting in target reset. This change resolves the issue by removing unncessary unmap functions in video driver. Change-Id: I0b501f0a7115bba085b067a5e78172df210da8f1 Signed-off-by: Maheshwar Ajja <majja@codeaurora.org> Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
This commit is contained in:
parent
d9108943e8
commit
f897cdbb4f
1 changed files with 0 additions and 3 deletions
|
@ -429,9 +429,6 @@ void vidc_cleanup_addr_table(struct video_client_ctx *client_ctx,
|
|||
}
|
||||
if (!IS_ERR_OR_NULL(buf_addr_table[i].buff_ion_handle)) {
|
||||
if (!IS_ERR_OR_NULL(client_ctx->user_ion_client)) {
|
||||
ion_unmap_kernel(client_ctx->user_ion_client,
|
||||
buf_addr_table[i].
|
||||
buff_ion_handle);
|
||||
if (!res_trk_check_for_sec_session() &&
|
||||
(res_trk_get_core_type() !=
|
||||
(u32)VCD_CORE_720P)) {
|
||||
|
|
Loading…
Reference in a new issue