linux/drivers/media/platform/ti-vpe
Archit Taneja 772a7b7ae1 [media] v4l: ti-vpe: Use video_device_release_empty
The video_device struct is currently embedded in the driver data struct vpe_dev.
A vpe_dev instance is allocated by the driver, and the memory for the vfd is a
part of this struct.

The v4l2 core, however, manages the removal of the vfd region, through the
video_device's .release() op, which currently is the helper
video_device_release. This causes memory corruption, and leads to issues when
we try to re-insert the vpe module.

Use the video_device_release_empty helper function instead.

Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-04-07 09:41:57 -03:00
..
Makefile [media] v4l: ti-vpe: create a color space converter block library 2014-01-07 06:56:18 -02:00
csc.c [media] v4l: ti-vpe: Add helper to perform color conversion 2014-01-07 06:57:08 -02:00
csc.h [media] v4l: ti-vpe: Add helper to perform color conversion 2014-01-07 06:57:08 -02:00
sc.c [media] v4l: ti-vpe: enable basic scaler support 2014-01-07 06:55:35 -02:00
sc.h [media] v4l: ti-vpe: enable basic scaler support 2014-01-07 06:55:35 -02:00
sc_coeff.h [media] v4l: ti-vpe: support loading of scaler coefficients 2014-01-07 06:54:48 -02:00
vpdma.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-01-31 09:31:14 -08:00
vpdma.h [media] v4l: ti-vpe: Add a type specifier to describe vpdma data format type 2014-01-07 06:58:02 -02:00
vpdma_priv.h [media] v4l: ti-vpe: Fix the data_type value for UYVY VPDMA format 2013-12-10 16:49:02 -02:00
vpe.c [media] v4l: ti-vpe: Use video_device_release_empty 2014-04-07 09:41:57 -03:00
vpe_regs.h [media] v4l: ti-vpe: create a color space converter block library 2014-01-07 06:56:18 -02:00