summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-11-30 08:58:20 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-11 11:26:27 (GMT)
commitb4b0107137913815bc63df96f01cf1225e889ba9 (patch)
treeac2f3db862bb617d0ed14047996baa431ba49d96
parent6121ca572f1b38dbce79b0366b47dbf2ce305eec (diff)
downloadlinux-fsl-qoriq-b4b0107137913815bc63df96f01cf1225e889ba9.tar.xz
[media] gspca - sonixj: Bad sensor mode at start time
The 'open-drain' mode was not reset when starting the webcams. This problem was introduced by commit 0e4d413af1a9d and its exact effects are unknown. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/sonixj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index ced16a0..a87b1e1 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -2393,7 +2393,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
reg_w1(gspca_dev, 0x17, reg17);
reg01 &= ~S_PWR_DN; /* sensor power on */
reg_w1(gspca_dev, 0x01, reg01);
- reg01 &= ~SYS_SEL_48M;
+ reg01 &= ~SCL_SEL_OD; /* remove open-drain mode */
reg_w1(gspca_dev, 0x01, reg01);
switch (sd->sensor) {