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

Commit 0303a90a 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 of sensors hv7131r and mi0360



The bug was introduced by commit 23a98274
applying values of sensor sp80708 to sensors hv7131r and mi0360.

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 40004e24
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2588,8 +2588,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
		reg1 = 0x44;
		reg17 = 0xa2;
		break;
	default:
/*	case SENSOR_SP80708: */
	case SENSOR_SP80708:
		init = sp80708_sensor_param1;
		if (mode) {
/*??			reg1 = 0x04;	 * 320 clk 48Mhz */