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

Commit e335fada authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4418): Fix broken msp3400 module option 'standard'



Due to a wrong statement order the 'standard' module option didn't
work for 'G' model chips.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 17531c16
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -961,10 +961,10 @@ int msp34xxg_thread(void *data)
		/* setup the chip*/
		msp34xxg_reset(client);
		state->std = state->radio ? 0x40 : msp_standard;
		if (state->std != 1)
			goto unmute;
		/* start autodetect */
		msp_write_dem(client, 0x20, state->std);
		if (state->std != 1)
			goto unmute;

		/* watch autodetect */
		v4l_dbg(1, msp_debug, client, "started autodetect, waiting for result\n");