Skip to content

Commit

Permalink
V4L/DVB (4418): Fix broken msp3400 module option 'standard'
Browse files Browse the repository at this point in the history
Due to a wrong statement order the 'standard' module option didn't
work for 'G' model chips.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Aug 8, 2006
1 parent 17531c1 commit e335fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/msp3400-kthreads.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e335fad

Please sign in to comment.