Skip to content

Commit

Permalink
V4L/DVB: gspca - sonixj: Set the vertical flip at capture start for a…
Browse files Browse the repository at this point in the history
…ll sensors

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent f6b22e5 commit 1e5eb11
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
reg17 = 0x64; /* 640 MCKSIZE */
break;
case SENSOR_OV7630:
setvflip(sd);
reg17 = 0xe2;
reg1 = 0x44;
break;
Expand Down Expand Up @@ -2154,11 +2153,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
reg_w1(gspca_dev, 0x17, reg17);
reg_w1(gspca_dev, 0x01, reg1);

switch (sd->sensor) {
case SENSOR_OV7630:
setvflip(sd);
break;
}
setvflip(sd);
setbrightness(gspca_dev);
setcontrast(gspca_dev);
setautogain(gspca_dev);
Expand Down

0 comments on commit 1e5eb11

Please sign in to comment.