Skip to content

Commit

Permalink
[media] gspca - sonixj: Fix a regression with sensor hv7131r
Browse files Browse the repository at this point in the history
The bug was introduced by commit d5aa385
removing the probe sequence of hv7131r with bridge sn9c120 and so, letting
the sensor inactive.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 0303a90 commit 75f05ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -1856,8 +1856,7 @@ static void bridge_init(struct gspca_dev *gspca_dev,
reg_w1(gspca_dev, 0x01, 0x43);
reg_w1(gspca_dev, 0x17, 0x61);
reg_w1(gspca_dev, 0x01, 0x42);
if (sd->sensor == SENSOR_HV7131R
&& sd->bridge == BRIDGE_SN9C102P)
if (sd->sensor == SENSOR_HV7131R)
hv7131r_probe(gspca_dev);
break;
}
Expand Down

0 comments on commit 75f05ba

Please sign in to comment.