aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/cx18/cx18-driver.c6
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 71bb04ab91d7..2f4909a32540 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -722,6 +722,12 @@ static int __devinit cx18_probe(struct pci_dev *dev,
722 /* if no tuner was found, then pick the first tuner in the card list */ 722 /* if no tuner was found, then pick the first tuner in the card list */
723 if (cx->options.tuner == -1 && cx->card->tuners[0].std) { 723 if (cx->options.tuner == -1 && cx->card->tuners[0].std) {
724 cx->std = cx->card->tuners[0].std; 724 cx->std = cx->card->tuners[0].std;
725 if (cx->std & V4L2_STD_PAL)
726 cx->std = V4L2_STD_PAL_BG | V4L2_STD_PAL_H;
727 else if (cx->std & V4L2_STD_NTSC)
728 cx->std = V4L2_STD_NTSC_M;
729 else if (cx->std & V4L2_STD_SECAM)
730 cx->std = V4L2_STD_SECAM_L;
725 cx->options.tuner = cx->card->tuners[0].tuner; 731 cx->options.tuner = cx->card->tuners[0].tuner;
726 } 732 }
727 if (cx->options.radio == -1) 733 if (cx->options.radio == -1)
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index 9e6a64903875..41fd79279bb5 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -1128,6 +1128,12 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
1128 /* if no tuner was found, then pick the first tuner in the card list */ 1128 /* if no tuner was found, then pick the first tuner in the card list */
1129 if (itv->options.tuner == -1 && itv->card->tuners[0].std) { 1129 if (itv->options.tuner == -1 && itv->card->tuners[0].std) {
1130 itv->std = itv->card->tuners[0].std; 1130 itv->std = itv->card->tuners[0].std;
1131 if (itv->std & V4L2_STD_PAL)
1132 itv->std = V4L2_STD_PAL_BG | V4L2_STD_PAL_H;
1133 else if (itv->std & V4L2_STD_NTSC)
1134 itv->std = V4L2_STD_NTSC_M;
1135 else if (itv->std & V4L2_STD_SECAM)
1136 itv->std = V4L2_STD_SECAM_L;
1131 itv->options.tuner = itv->card->tuners[0].tuner; 1137 itv->options.tuner = itv->card->tuners[0].tuner;
1132 } 1138 }
1133 if (itv->options.radio == -1) 1139 if (itv->options.radio == -1)