Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295131
b: refs/heads/master
c: ccbaba4
h: refs/heads/master
i:
  295129: 0982173
  295127: 4c6dc63
v: v3
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Mar 20, 2012
1 parent 88cef13 commit 68cc869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92dcffcf20feec54872e9e1c68e177b5549751ec
refs/heads/master: ccbaba430241805076ebd16f90d8456c20bc796a
8 changes: 2 additions & 6 deletions trunk/drivers/media/video/gspca/sn9c20x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2107,9 +2107,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
set_hvflip(gspca_dev);

reg_w1(gspca_dev, 0x1007, 0x20);

reg_r(gspca_dev, 0x1061, 1);
reg_w1(gspca_dev, 0x1061, gspca_dev->usb_buf[0] | 0x02);
reg_w1(gspca_dev, 0x1061, 0x03);

/* if JPEG, prepare the compression quality update */
if (mode & MODE_JPEG) {
Expand All @@ -2125,9 +2123,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
static void sd_stopN(struct gspca_dev *gspca_dev)
{
reg_w1(gspca_dev, 0x1007, 0x00);

reg_r(gspca_dev, 0x1061, 1);
reg_w1(gspca_dev, 0x1061, gspca_dev->usb_buf[0] & ~0x02);
reg_w1(gspca_dev, 0x1061, 0x01);
}

/* called on streamoff with alt==0 and on disconnect */
Expand Down

0 comments on commit 68cc869

Please sign in to comment.