summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-08-01 21:16:41 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-08-01 21:16:41 +0200
commit0bc5bc4ebe982dfaec66c158ef40673f0e26452c (patch)
tree3462f017ddb93e2f2ab5caf592d252599861c7a5 /linux
parent2cf049fd44ed86fde26188cd0290055c7c67604c (diff)
downloadmediapointer-dvb-s2-0bc5bc4ebe982dfaec66c158ef40673f0e26452c.tar.gz
mediapointer-dvb-s2-0bc5bc4ebe982dfaec66c158ef40673f0e26452c.tar.bz2
Fix broken msp3400 module option 'standard'
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/msp3400-kthreads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/msp3400-kthreads.c b/linux/drivers/media/video/msp3400-kthreads.c
index 20702d71a..78dd43490 100644
--- a/linux/drivers/media/video/msp3400-kthreads.c
+++ b/linux/drivers/media/video/msp3400-kthreads.c
@@ -1000,10 +1000,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");