mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
[media] media: ti-vpe: Free vpdma buffers in vpe_release
Free vpdma buffers in vpe_release. Otherwise it was generating random backtrace. Signed-off-by: Harinarayan Bhatta <harinarayan@ti.com> Signed-off-by: Somnath Mukherjee <somnath@ti.com> Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com> Signed-off-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
072915b57a
commit
f43aa420a8
1 changed files with 3 additions and 0 deletions
|
@ -2182,6 +2182,9 @@ static int vpe_release(struct file *file)
|
|||
vpdma_free_desc_list(&ctx->desc_list);
|
||||
vpdma_free_desc_buf(&ctx->mmr_adb);
|
||||
|
||||
vpdma_free_desc_buf(&ctx->sc_coeff_v);
|
||||
vpdma_free_desc_buf(&ctx->sc_coeff_h);
|
||||
|
||||
v4l2_fh_del(&ctx->fh);
|
||||
v4l2_fh_exit(&ctx->fh);
|
||||
v4l2_ctrl_handler_free(&ctx->hdl);
|
||||
|
|
Loading…
Reference in a new issue