Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377166
b: refs/heads/master
c: 0391dc1
h: refs/heads/master
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed May 7, 2013
1 parent b2dcb12 commit 2ef4fc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd5de26288604cb8a6f7fba041cc5fb610cbff9e
refs/heads/master: 0391dc17bd5d7d6b1706d0be6472c4b352b57c05
7 changes: 7 additions & 0 deletions trunk/drivers/media/usb/gspca/sonixb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,13 @@ static int sd_start(struct gspca_dev *gspca_dev)
regs[0x01] = 0x44; /* Select 24 Mhz clock */
regs[0x12] = 0x02; /* Set hstart to 2 */
}
break;
case SENSOR_PAS202:
/* For some unknown reason we need to increase hstart by 1 on
the sn9c103, otherwise we get wrong colors (bayer shift). */
if (sd->bridge == BRIDGE_103)
regs[0x12] += 1;
break;
}
/* Disable compression when the raw bayer format has been selected */
if (cam->cam_mode[gspca_dev->curr_mode].priv & MODE_RAW)
Expand Down

0 comments on commit 2ef4fc3

Please sign in to comment.