msm: vidc: Don't free shared memory on channel close

The driver already frees the memory in vcd_ddl.c at ddl_close().  No
need to prematurely free the memory here.

Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
This commit is contained in:
Deva Ramasubramanian 2013-04-11 18:22:01 -07:00 committed by Iliyan Malchev
parent ee0d677158
commit 6b052a80c0

View file

@ -404,8 +404,6 @@ void ddl_release_client_internal_buffers(struct ddl_client_context *ddl)
encoder->dynamic_prop_change = 0;
ddl_free_enc_hw_buffers(ddl);
}
ddl_pmem_free(&ddl->shared_mem[0]);
ddl_pmem_free(&ddl->shared_mem[1]);
}
u32 ddl_codec_type_transact(struct ddl_client_context *ddl,