summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c4
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c8
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-io.c2
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c10
4 files changed, 12 insertions, 12 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
index 6d797cb55..97931d3c4 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
@@ -308,14 +308,14 @@ int pvr2_encoder_configure(struct pvr2_hdw *hdw)
the ivtv driver). But, if I leave them in, then mplayer
goes nuts with xrun errors. So for now we don't do this.
It sure would be nice to know what these are for. */
-#ifdef notdef
+#if 0
ret |= pvr2_write_encoder_vcmd(hdw, 0xdc, 1, 5);
ret |= pvr2_write_encoder_vcmd(hdw, 0xdc, 2, 3, 1);
ret |= pvr2_write_encoder_vcmd(hdw, 0xdc, 1, 8);
#endif
/* Strange compared to ivtv data. */
-#ifdef notdef
+#if 0
ret |= pvr2_write_encoder_vcmd(hdw, CX2341X_ENC_SET_NUM_VSYNC_LINES, 2,
0x0120, 0x0120);
ret |= pvr2_write_encoder_vcmd(hdw, CX2341X_ENC_SET_NUM_VSYNC_LINES, 2,
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
index d3b223d09..8ec637e5e 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
@@ -46,7 +46,7 @@ static int pvr2_i2c_write(struct pvr2_hdw *hdw, /* Context */
/* Return value - default 0 means success */
int ret;
-#ifdef notdef
+#if 0
trace_i2c("pvr2_i2c_write");
#endif
@@ -87,7 +87,7 @@ static int pvr2_i2c_write(struct pvr2_hdw *hdw, /* Context */
}
}
}
-#ifdef notdef
+#if 0
trace_i2c("i2c_write(%d) len=%d ret=%d stat=%d",i2c_addr,length,ret,
hdw->cmd_buffer[0]);
#endif
@@ -107,7 +107,7 @@ static int pvr2_i2c_read(struct pvr2_hdw *hdw, /* Context */
/* Return value - default 0 means success */
int ret;
-#ifdef notdef
+#if 0
trace_i2c("pvr2_i2c_read");
#endif
@@ -145,7 +145,7 @@ static int pvr2_i2c_read(struct pvr2_hdw *hdw, /* Context */
}
}
-#ifdef notdef
+#if 0
trace_i2c("i2c_read(%d) wlen=%d rlen=%d ret=%d stat=%d",
i2c_addr,dlen,rlen,ret,hdw->cmd_buffer[0]);
#endif
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-io.c b/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
index b01975af4..a6bc3befe 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
@@ -36,7 +36,7 @@
// #define SANITY_CHECK_BUFFERS
-#ifdef notdef
+#if 0
#define BUFFER_CHECK(bp) do { \
if ((bp)->signature != BUFFER_SIG) { \
pvr2_trace(PVR2_TRACE_ERROR_LEGS, \
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index 655d9dda4..017d30ad0 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -124,7 +124,7 @@ static struct v4l2_tuner pvr_v4l2_tuners[]= {
.afc = 0,
.reserved = {0,0,0,0}
}
-#ifdef notdef
+#if 0
{
.index = 1,
.name = "Radio Tuner",
@@ -306,7 +306,7 @@ static int cnv_cid_v4l2_pvr2(int id)
return -1;
}
-#ifdef notdef
+#if 0
static int cnv_cid_pvr2_v4l2(int id)
{
switch (id) {
@@ -1168,7 +1168,7 @@ static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip,
struct pvr2_v4l2 *vp,
enum pvr2_config cfg)
{
-#ifdef notdef
+#if 0
struct usb_device *usbdev;
#endif
int mindevnum;
@@ -1177,7 +1177,7 @@ static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip,
dip->v4lp = vp;
dip->config = cfg;
-#ifdef notdef
+#if 0
usbdev = pvr2_hdw_get_dev(vp->channel.mc_head->hdw);
#endif
@@ -1212,7 +1212,7 @@ static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip,
}
memcpy(dip->vdev,&vdev_template,sizeof(vdev_template));
-#ifdef notdef
+#if 0
/* ????? This relation may be problematic on a disconnect. Is this
really needed? I can't seem to find a reason for it. This
can't be a required thing - what if the video device being set