aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-blackbird.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-29 07:26:01 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:48 -0400
commitb8341e1d2acadf3935fb299a325f569a1c20daa6 (patch)
treec0146a06908fc673e74e727336d869cf0c553b18 /drivers/media/video/cx88/cx88-blackbird.c
parentb6198ade556add7a6f1dd1d38dd489b0484cab2d (diff)
V4L/DVB (11300): cx88: convert to v4l2_subdev.
Convert cx88 to use v4l2_subdev since the old i2c autoprobing mechanism will be removed. Added code to explicitly load tvaudio where needed. Also fix the rtc-isl1208 support: since that driver no longer supports autoprobing it has to be loaded using the new i2c API. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c
index 484df549345c..44eacfb0d0d6 100644
--- a/drivers/media/video/cx88/cx88-blackbird.c
+++ b/drivers/media/video/cx88/cx88-blackbird.c
@@ -915,7 +915,7 @@ static int vidioc_log_status (struct file *file, void *priv)
915 snprintf(name, sizeof(name), "%s/2", core->name); 915 snprintf(name, sizeof(name), "%s/2", core->name);
916 printk("%s/2: ============ START LOG STATUS ============\n", 916 printk("%s/2: ============ START LOG STATUS ============\n",
917 core->name); 917 core->name);
918 cx88_call_i2c_clients(core, VIDIOC_LOG_STATUS, NULL); 918 call_all(core, core, log_status);
919 cx2341x_log_status(&dev->params, name); 919 cx2341x_log_status(&dev->params, name);
920 printk("%s/2: ============= END LOG STATUS =============\n", 920 printk("%s/2: ============= END LOG STATUS =============\n",
921 core->name); 921 core->name);
@@ -970,7 +970,7 @@ static int vidioc_g_frequency (struct file *file, void *priv,
970 970
971 f->type = V4L2_TUNER_ANALOG_TV; 971 f->type = V4L2_TUNER_ANALOG_TV;
972 f->frequency = core->freq; 972 f->frequency = core->freq;
973 cx88_call_i2c_clients(core,VIDIOC_G_FREQUENCY,f); 973 call_all(core, tuner, g_frequency, f);
974 974
975 return 0; 975 return 0;
976} 976}