Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75f05ba0 authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab
Browse files

[media] gspca - sonixj: Fix a regression with sensor hv7131r



The bug was introduced by commit d5aa3856
removing the probe sequence of hv7131r with bridge sn9c120 and so, letting
the sensor inactive.

Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Cc: stable@kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0303a90a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
	}