V4L/DVB (11118): cafe_ccic: replace debugfs with g/s_register ioctls.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Mar 2009 16:25:54 +0000 (13:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:30 +0000 (12:43 -0300)
commit69d94f7ec5edea85da0057c48c4f2877e5bb509e
tree0be8d9970472357b06250c1bcb6f7c9b7c2d0c6b
parentb794aabff01a704df5c0bcf6537e6a7343a08465
V4L/DVB (11118): cafe_ccic: replace debugfs with g/s_register ioctls.

Using VIDIOC_DBG_S/G_REGISTER is the standard way of reading/writing register
for advanced debugging under v4l2. In addition, using this means that the
cafe_ccic driver doesn't need to have knowledge about the used sensor: the
debug ioctl can be passed on to the sensor if it isn't for the host.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cafe_ccic.c
include/media/v4l2-chip-ident.h