summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ov511.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-11 18:08:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-11 18:08:08 -0300
commitf87c0d6c0b3286715f8bed1b4194b0fc712cab57 (patch)
tree12c39e4c738d504dcf61697fd9f2c2831983e9ee /linux/drivers/media/video/ov511.c
parent5fee2a6c6c243cc56773187b78a0eafbd688b935 (diff)
downloadmediapointer-dvb-s2-f87c0d6c0b3286715f8bed1b4194b0fc712cab57.tar.gz
mediapointer-dvb-s2-f87c0d6c0b3286715f8bed1b4194b0fc712cab57.tar.bz2
A previous patch introduced a dot-comma at wrong places.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/ov511.c')
-rw-r--r--linux/drivers/media/video/ov511.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/linux/drivers/media/video/ov511.c b/linux/drivers/media/video/ov511.c
index 1bf382115..564a88293 100644
--- a/linux/drivers/media/video/ov511.c
+++ b/linux/drivers/media/video/ov511.c
@@ -638,7 +638,7 @@ ov511_i2c_write_internal(struct usb_ov511 *ov,
rc = 0;
break;
}
-#if 0 /* keep */;
+#if 0 /* keep */
/* I2C abort */
reg_w(ov, R511_I2C_CTL, 0x10);
#endif
@@ -1105,7 +1105,7 @@ ov51x_clear_snapshot(struct usb_ov511 *ov)
}
}
-#if 0 /* keep */;
+#if 0 /* keep */
/* Checks the status of the snapshot button. Returns 1 if it was pressed since
* it was last cleared, and zero in all other cases (including errors) */
static int
@@ -1673,7 +1673,7 @@ sensor_set_hue(struct usb_ov511 *ov, unsigned short val)
break;
case SEN_OV7620:
// Hue control is causing problems. I will enable it once it's fixed.
-#if 0 /* keep */;
+#if 0 /* keep */
rc = i2c_w(ov, 0x7a, (unsigned char)(val >> 8) + 0xb);
if (rc < 0)
goto out;
@@ -1804,7 +1804,7 @@ sensor_get_picture(struct usb_ov511 *ov, struct video_picture *p)
return 0;
}
-#if 0 /* keep */;
+#if 0 /* keep */
// FIXME: Exposure range is only 0x00-0x7f in interlace mode
/* Sets current exposure for sensor. This only has an effect if auto-exposure
* is off */
@@ -2171,7 +2171,7 @@ mode_init_ov_sensor_regs(struct usb_ov511 *ov, int width, int height,
case SEN_OV7610:
i2c_w(ov, 0x14, qvga?0x24:0x04);
// FIXME: Does this improve the image quality or frame rate?
-#if 0 /* keep */;
+#if 0 /* keep */
i2c_w_mask(ov, 0x28, qvga?0x00:0x20, 0x20);
i2c_w(ov, 0x24, 0x10);
i2c_w(ov, 0x25, qvga?0x40:0x8a);
@@ -2193,7 +2193,7 @@ mode_init_ov_sensor_regs(struct usb_ov511 *ov, int width, int height,
// i2c_w(ov, 0x2b, 0x00);
i2c_w(ov, 0x14, qvga?0xa4:0x84);
// FIXME: Enable this once 7620AE uses 7620 initial settings
-#if 0 /* keep */;
+#if 0 /* keep */
i2c_w_mask(ov, 0x28, qvga?0x00:0x20, 0x20);
i2c_w(ov, 0x24, qvga?0x20:0x3a);
i2c_w(ov, 0x25, qvga?0x30:0x60);
@@ -3435,7 +3435,7 @@ sof:
PDEBUG(4, "Starting capture on frame %d", frame->framenum);
// Snapshot not reverse-engineered yet.
-#if 0 /* keep */;
+#if 0 /* keep */
/* Check to see if it's a snapshot frame */
/* FIXME?? Should the snapshot reset go here? Performance? */
if (in[8] & 0x02) {
@@ -4193,7 +4193,7 @@ ov51x_v4l1_ioctl_internal(struct inode *inode, struct file *file,
PDEBUG(4, "VIDIOCSWIN: %dx%d", vw->width, vw->height);
-#if 0 /* keep */;
+#if 0 /* keep */
if (vw->flags)
return -EINVAL;
if (vw->clipcount)
@@ -4306,7 +4306,7 @@ ov51x_v4l1_ioctl_internal(struct inode *inode, struct file *file,
rc = mode_init_regs(ov, vm->width, vm->height,
vm->format, ov->sub_flag);
-#if 0 /* keep */;
+#if 0 /* keep */
if (rc < 0) {
PDEBUG(1, "Got error while initializing regs ");
return ret;
@@ -5068,7 +5068,7 @@ ks0127_configure(struct usb_ov511 *ov)
int rc;
// FIXME: I don't know how to sync or reset it yet
-#if 0 /* keep */;
+#if 0 /* keep */
if (ov51x_init_ks_sensor(ov) < 0) {
err("Failed to initialize the KS0127");
return -1;
@@ -5155,7 +5155,7 @@ saa7111a_configure(struct usb_ov511 *ov)
};
// FIXME: I don't know how to sync or reset it yet
-#if 0 /* keep */;
+#if 0 /* keep */
if (ov51x_init_saa_sensor(ov) < 0) {
err("Failed to initialize the SAA7111A");
return -1;