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

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

[media] gspca - zc3xx: Set the exposure at start of hv7131r



The exposure was not set when autogain was set.

Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6028c326
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6875,7 +6875,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
		reg_w(gspca_dev, 0x40, 0x0117);
		break;
	case SENSOR_HV7131R:
		if (!sd->ctrls[AUTOGAIN].val)
		setexposure(gspca_dev);
		reg_w(gspca_dev, 0x00, ZC3XX_R1A7_CALCGLOBALMEAN);
		break;