Skip to content

Commit dc93a70

Browse files
hverkuilMauro Carvalho Chehab
authored andcommitted
V4L/DVB (9973): v4l2-dev: use the release callback from device instead of cdev
Instead of relying on the cdev release callback we should rely on the release callback from the device struct. This requires that we use get_device/put_device to do proper refcounting. In order to do this safely v4l2-dev.c now sets up its own file_operations that call out to the driver's ops. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent be49e36 commit dc93a70

File tree

2 files changed

+295
-108
lines changed

2 files changed

+295
-108
lines changed

0 commit comments

Comments
 (0)