summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-03-06 20:30:37 -0600
committerMike Isely <isely@pobox.com>2009-03-06 20:30:37 -0600
commit888de8a79f8c6289a00826435686ed77a2e6faf5 (patch)
treec52a063808606d31faf92daaab647f0bee6bf348 /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
parent3472c5f6e471cbe81091eb4f014a9991365270c5 (diff)
downloadmediapointer-dvb-s2-888de8a79f8c6289a00826435686ed77a2e6faf5.tar.gz
mediapointer-dvb-s2-888de8a79f8c6289a00826435686ed77a2e6faf5.tar.bz2
pvrusb2: Changes to further isolate old i2c layer
From: Mike Isely <isely@pobox.com> This introduces some additional isolation in the pvrusb2 from the old i2c layer, a step along the way to separate the driver from that layer and to make it easier to introduce the common v4l2-subdev framework as the eventual replacement. Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
index db61c1fb0..a477e1ebd 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
@@ -26,6 +26,7 @@
#include <media/v4l2-common.h>
#include "compat.h"
+
static void execute_init(struct pvr2_hdw *hdw)
{
u32 dummy = 0;
@@ -185,7 +186,7 @@ static void set_frequency(struct pvr2_hdw *hdw)
fv = pvr2_hdw_get_cur_freq(hdw);
pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_freq(%lu)",fv);
if (hdw->tuner_signal_stale) {
- pvr2_i2c_core_status_poll(hdw);
+ pvr2_hdw_status_poll(hdw);
}
memset(&freq,0,sizeof(freq));
if (hdw->tuner_signal_info.capability & V4L2_TUNER_CAP_LOW) {
@@ -326,6 +327,7 @@ void pvr2_v4l2_cmd_status_poll(struct pvr2_i2c_client *cp)
}
+
/*
Stuff for Emacs to see, in order to encourage consistent editing style:
*** Local Variables: ***