]> err.no Git - linux-2.6/commitdiff
V4L/DVB (3810): KWorld HardwareMpegTV XPert: Enable Blackbird MPEG encoder support
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 16 Apr 2006 15:17:34 +0000 (12:17 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 04:58:11 +0000 (01:58 -0300)
- clear I2SIN to deliver the audio stream to the cx23416 mpeg encoder.
- enable blackbird support on the KWorld HardwareMpegTV XPert

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-blackbird.c
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/cx88/cx88-tvaudio.c

index 6ec4a34aeacc196cd7bb7932a9730f984d12b96a..75ee8358f1cb6f37d1c0f7a51834d3891f1a53b8 100644 (file)
@@ -1686,12 +1686,16 @@ static int __devinit blackbird_probe(struct pci_dev *pci_dev,
        memcpy(&dev->params,&default_mpeg_params,sizeof(default_mpeg_params));
        memcpy(&dev->dnr_params,&default_dnr_params,sizeof(default_dnr_params));
 
-       if (core->tuner_formats & V4L2_STD_525_60) {
-               dev->height = 480;
-               dev->params.vi_frame_rate = 30;
-       } else {
-               dev->height = 576;
-               dev->params.vi_frame_rate = 25;
+       if (core->board == CX88_BOARD_HAUPPAUGE_ROSLYN) {
+
+               if (core->tuner_formats & V4L2_STD_525_60) {
+                       dev->height = 480;
+                       dev->params.vi_frame_rate = 30;
+               } else {
+                       dev->height = 576;
+                       dev->params.vi_frame_rate = 25;
+               }
+
        }
 
        err = cx8802_init_common(dev);
index 344c16eb0b0d590b1a23eebe1f53d651173dd202..9516c40811925206829e5d95b5cd250f1182af69 100644 (file)
@@ -1071,6 +1071,7 @@ struct cx88_board cx88_boards[] = {
                        .gpio0  = 0x3de6,
                        .gpio2  = 0x00ff,
                },
+               .blackbird      = 1,
        },
        [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID] = {
                .name           = "DViCO FusionHDTV DVB-T Hybrid",
index 210f9f7ebed4ca47a54f51ad0f3662d66f20a105..04d0635695d7b0f6dca530132bc16f174dac5bd2 100644 (file)
@@ -151,6 +151,7 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl)
                switch (core->board) {
                case CX88_BOARD_HAUPPAUGE_ROSLYN:
                case CX88_BOARD_KWORLD_MCE200_DELUXE:
+               case CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT:
                        cx_clear(AUD_CTL, EN_I2SIN_ENABLE);
                        break;
                default: