]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
V4L/DVB (11044): v4l2-device: add v4l2_device_disconnect
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 14 Mar 2009 11:28:45 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:22 +0000 (12:43 -0300)
commitae6cfaace120f4330715b56265ce0e4a710e1276
treeed01c11218132e92ce8fe4872fe26c572c3c8842
parent6273fda6e32e2cd9a478545d0cbc15ac497b1f4b
V4L/DVB (11044): v4l2-device: add v4l2_device_disconnect

Call v4l2_device_disconnect when the parent of a hotpluggable device
disconnects. This ensures that you do not have a pointer to a device that
is no longer present.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/CARDLIST.bttv
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/v4l2-device.c
include/media/v4l2-device.h