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:
Maheshwar Ajja 2013-05-20 21:33:26 +05:30 committed by Artem Borisov
parent d9108943e8
commit f897cdbb4f

View file

@ -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)) {