]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/msp3400-kthreads.c
V4L/DVB (4922): Add usbvision driver
[linux-2.6-omap-h63xx.git] / drivers / media / video / msp3400-kthreads.c
index f2fd9195b3ac6491468deec543c9c68fdf0af379..4c7f85b566a0ad222013e3f1871f4973e76dc859 100644 (file)
@@ -960,11 +960,12 @@ int msp34xxg_thread(void *data)
 
                /* setup the chip*/
                msp34xxg_reset(client);
-               state->std = state->radio ? 0x40 : msp_standard;
+               state->std = state->radio ? 0x40 :
+                       (state->force_btsc && msp_standard == 1) ? 32 : msp_standard;
+               msp_write_dem(client, 0x20, state->std);
+               /* start autodetect */
                if (state->std != 1)
                        goto unmute;
-               /* start autodetect */
-               msp_write_dem(client, 0x20, state->std);
 
                /* watch autodetect */
                v4l_dbg(1, msp_debug, client, "started autodetect, waiting for result\n");