linux/drivers/media/platform/vsp1
Laurent Pinchart 1499be67a5 [media] v4l: vsp1: Cleanup video nodes at removal time
Video nodes created and initialized in the RPF and WPF init code paths
are never unregistered, and the related resources (videobuf alloc
context and media entity) never released.

Fix this by storing a pointer to the vsp1_video object in vsp1_entity
and calling vsp1_video_cleanup() from vsp1_entity_destroy(). This also
allows simplifying the init error code paths.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-17 12:44:52 -03:00
..
Makefile [media] v4l: vsp1: Add BRU support 2014-04-23 10:20:15 -03:00
vsp1.h [media] v4l: vsp1: Fix typos 2014-07-17 12:44:51 -03:00
vsp1_bru.c [media] v4l: vsp1: Add BRU support 2014-04-23 10:20:15 -03:00
vsp1_bru.h [media] v4l: vsp1: Add BRU support 2014-04-23 10:20:15 -03:00
vsp1_drv.c [media] v4l: vsp1: Fix typos 2014-07-17 12:44:51 -03:00
vsp1_entity.c [media] v4l: vsp1: Cleanup video nodes at removal time 2014-07-17 12:44:52 -03:00
vsp1_entity.h [media] v4l: vsp1: Cleanup video nodes at removal time 2014-07-17 12:44:52 -03:00
vsp1_hsit.c [media] v4l: vsp1: Support multi-input entities 2014-04-23 10:18:36 -03:00
vsp1_hsit.h [media] v4l: vsp1: Add HST and HSI support 2013-12-11 09:22:44 -02:00
vsp1_lif.c [media] v4l: vsp1: Support multi-input entities 2014-04-23 10:18:36 -03:00
vsp1_lif.h [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_lut.c [media] v4l: vsp1: Support multi-input entities 2014-04-23 10:18:36 -03:00
vsp1_lut.h [media] v4l: vsp1: Add LUT support 2013-12-11 09:25:20 -02:00
vsp1_regs.h [media] v4l: vsp1: Add BRU support 2014-04-23 10:20:15 -03:00
vsp1_rpf.c [media] v4l: vsp1: Cleanup video nodes at removal time 2014-07-17 12:44:52 -03:00
vsp1_rwpf.c [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_rwpf.h [media] v4l: vsp1: Add BRU support 2014-04-23 10:20:15 -03:00
vsp1_sru.c [media] v4l: vsp1: Support multi-input entities 2014-04-23 10:18:36 -03:00
vsp1_sru.h [media] v4l: vsp1: Add SRU support 2013-12-11 09:23:59 -02:00
vsp1_uds.c [media] v4l: vsp1: Support multi-input entities 2014-04-23 10:18:36 -03:00
vsp1_uds.h [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_video.c [media] v4l: vsp1: Fix pipeline stop timeout 2014-07-17 12:44:50 -03:00
vsp1_video.h [media] v4l: vsp1: Fix typos 2014-07-17 12:44:51 -03:00
vsp1_wpf.c [media] v4l: vsp1: Cleanup video nodes at removal time 2014-07-17 12:44:52 -03:00