aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/gspca/ov519.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index 8f9df2db6f1d..27bf7480a2d4 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -1499,8 +1499,8 @@ static int ov519_mode_init_regs(struct sd *sd)
1499 switch (sd->sensor) { 1499 switch (sd->sensor) {
1500 case SEN_OV7640: 1500 case SEN_OV7640:
1501 switch (sd->frame_rate) { 1501 switch (sd->frame_rate) {
1502/*fixme: default was 30 fps */ 1502 default:
1503 case 30: 1503/* case 30: */
1504 reg_w(sd, 0xa4, 0x0c); 1504 reg_w(sd, 0xa4, 0x0c);
1505 reg_w(sd, 0x23, 0xff); 1505 reg_w(sd, 0x23, 0xff);
1506 break; 1506 break;
@@ -1512,8 +1512,7 @@ static int ov519_mode_init_regs(struct sd *sd)
1512 reg_w(sd, 0xa4, 0x0c); 1512 reg_w(sd, 0xa4, 0x0c);
1513 reg_w(sd, 0x23, 0x1b); 1513 reg_w(sd, 0x23, 0x1b);
1514 break; 1514 break;
1515 default: 1515 case 15:
1516/* case 15: */
1517 reg_w(sd, 0xa4, 0x04); 1516 reg_w(sd, 0xa4, 0x04);
1518 reg_w(sd, 0x23, 0xff); 1517 reg_w(sd, 0x23, 0xff);
1519 sd->clockdiv = 1; 1518 sd->clockdiv = 1;