mirror of https://gitee.com/openkylin/linux.git
[media] gspca - sonixj: Fix a regression with sensor hv7131r
The bug was introduced by commit d5aa3856fd
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>
This commit is contained in:
parent
0303a90a74
commit
75f05ba09f
drivers/media/video/gspca
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue