mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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 0e4d413af1
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>
This commit is contained in:
parent
6121ca572f
commit
b4b0107137
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue