diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-05-20 11:05:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 15:05:05 -0400 |
commit | 792a21b0def241e73345e366a456ae7e516ba2f5 (patch) | |
tree | d35027e34ddde99d66a5f32b157d3bd5e9911b87 | |
parent | 5c164646e25a5a073875c6ca346efa0d5afb6934 (diff) |
[media] bttv: Remove unused needs_tvaudio card variable
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 76 | ||||
-rw-r--r-- | drivers/media/video/bt8xx/bttv.h | 1 |
2 files changed, 0 insertions, 77 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index 1c030fecbf41..959d4e15c98e 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -371,7 +371,6 @@ struct tvcard bttv_tvcards[] = { | |||
371 | .muxsel = MUXSEL(2, 3, 1, 1), | 371 | .muxsel = MUXSEL(2, 3, 1, 1), |
372 | .gpiomux = { 2, 0, 0, 0 }, | 372 | .gpiomux = { 2, 0, 0, 0 }, |
373 | .gpiomute = 10, | 373 | .gpiomute = 10, |
374 | .needs_tvaudio = 1, | ||
375 | .tuner_type = UNSET, | 374 | .tuner_type = UNSET, |
376 | .tuner_addr = ADDR_UNSET, | 375 | .tuner_addr = ADDR_UNSET, |
377 | }, | 376 | }, |
@@ -384,7 +383,6 @@ struct tvcard bttv_tvcards[] = { | |||
384 | .muxsel = MUXSEL(2, 3, 1, 1), | 383 | .muxsel = MUXSEL(2, 3, 1, 1), |
385 | .gpiomux = { 0, 1, 2, 3 }, | 384 | .gpiomux = { 0, 1, 2, 3 }, |
386 | .gpiomute = 4, | 385 | .gpiomute = 4, |
387 | .needs_tvaudio = 1, | ||
388 | .tuner_type = UNSET, | 386 | .tuner_type = UNSET, |
389 | .tuner_addr = ADDR_UNSET, | 387 | .tuner_addr = ADDR_UNSET, |
390 | }, | 388 | }, |
@@ -398,7 +396,6 @@ struct tvcard bttv_tvcards[] = { | |||
398 | .gpiomux = { 4, 0, 2, 3 }, | 396 | .gpiomux = { 4, 0, 2, 3 }, |
399 | .gpiomute = 1, | 397 | .gpiomute = 1, |
400 | .no_msp34xx = 1, | 398 | .no_msp34xx = 1, |
401 | .needs_tvaudio = 1, | ||
402 | .tuner_type = TUNER_PHILIPS_NTSC, | 399 | .tuner_type = TUNER_PHILIPS_NTSC, |
403 | .tuner_addr = ADDR_UNSET, | 400 | .tuner_addr = ADDR_UNSET, |
404 | .pll = PLL_28, | 401 | .pll = PLL_28, |
@@ -414,7 +411,6 @@ struct tvcard bttv_tvcards[] = { | |||
414 | .gpiomask = 0, | 411 | .gpiomask = 0, |
415 | .muxsel = MUXSEL(2, 3, 1, 1), | 412 | .muxsel = MUXSEL(2, 3, 1, 1), |
416 | .gpiomux = { 0 }, | 413 | .gpiomux = { 0 }, |
417 | .needs_tvaudio = 0, | ||
418 | .tuner_type = TUNER_ABSENT, | 414 | .tuner_type = TUNER_ABSENT, |
419 | .tuner_addr = ADDR_UNSET, | 415 | .tuner_addr = ADDR_UNSET, |
420 | }, | 416 | }, |
@@ -427,7 +423,6 @@ struct tvcard bttv_tvcards[] = { | |||
427 | .muxsel = MUXSEL(2, 3, 1, 0), | 423 | .muxsel = MUXSEL(2, 3, 1, 0), |
428 | .gpiomux = { 0, 1, 0, 1 }, | 424 | .gpiomux = { 0, 1, 0, 1 }, |
429 | .gpiomute = 3, | 425 | .gpiomute = 3, |
430 | .needs_tvaudio = 1, | ||
431 | .tuner_type = UNSET, | 426 | .tuner_type = UNSET, |
432 | .tuner_addr = ADDR_UNSET, | 427 | .tuner_addr = ADDR_UNSET, |
433 | }, | 428 | }, |
@@ -440,7 +435,6 @@ struct tvcard bttv_tvcards[] = { | |||
440 | .gpiomask = 0x0f, | 435 | .gpiomask = 0x0f, |
441 | .gpiomux = { 0x0c, 0x04, 0x08, 0x04 }, | 436 | .gpiomux = { 0x0c, 0x04, 0x08, 0x04 }, |
442 | /* 0x04 for some cards ?? */ | 437 | /* 0x04 for some cards ?? */ |
443 | .needs_tvaudio = 1, | ||
444 | .tuner_type = UNSET, | 438 | .tuner_type = UNSET, |
445 | .tuner_addr = ADDR_UNSET, | 439 | .tuner_addr = ADDR_UNSET, |
446 | .audio_mode_gpio= avermedia_tvphone_audio, | 440 | .audio_mode_gpio= avermedia_tvphone_audio, |
@@ -454,7 +448,6 @@ struct tvcard bttv_tvcards[] = { | |||
454 | .gpiomask = 0, | 448 | .gpiomask = 0, |
455 | .muxsel = MUXSEL(2, 3, 1, 0, 0), | 449 | .muxsel = MUXSEL(2, 3, 1, 0, 0), |
456 | .gpiomux = { 0 }, | 450 | .gpiomux = { 0 }, |
457 | .needs_tvaudio = 1, | ||
458 | .tuner_type = TUNER_ABSENT, | 451 | .tuner_type = TUNER_ABSENT, |
459 | .tuner_addr = ADDR_UNSET, | 452 | .tuner_addr = ADDR_UNSET, |
460 | }, | 453 | }, |
@@ -469,7 +462,6 @@ struct tvcard bttv_tvcards[] = { | |||
469 | .muxsel = MUXSEL(2, 3, 1, 1), | 462 | .muxsel = MUXSEL(2, 3, 1, 1), |
470 | .gpiomux = { 0, 0xc00, 0x800, 0x400 }, | 463 | .gpiomux = { 0, 0xc00, 0x800, 0x400 }, |
471 | .gpiomute = 0xc00, | 464 | .gpiomute = 0xc00, |
472 | .needs_tvaudio = 1, | ||
473 | .pll = PLL_28, | 465 | .pll = PLL_28, |
474 | .tuner_type = UNSET, | 466 | .tuner_type = UNSET, |
475 | .tuner_addr = ADDR_UNSET, | 467 | .tuner_addr = ADDR_UNSET, |
@@ -482,7 +474,6 @@ struct tvcard bttv_tvcards[] = { | |||
482 | .gpiomask = 3, | 474 | .gpiomask = 3, |
483 | .muxsel = MUXSEL(2, 3, 1, 1), | 475 | .muxsel = MUXSEL(2, 3, 1, 1), |
484 | .gpiomux = { 1, 1, 2, 3 }, | 476 | .gpiomux = { 1, 1, 2, 3 }, |
485 | .needs_tvaudio = 0, | ||
486 | .pll = PLL_28, | 477 | .pll = PLL_28, |
487 | .tuner_type = TUNER_TEMIC_PAL, | 478 | .tuner_type = TUNER_TEMIC_PAL, |
488 | .tuner_addr = ADDR_UNSET, | 479 | .tuner_addr = ADDR_UNSET, |
@@ -496,7 +487,6 @@ struct tvcard bttv_tvcards[] = { | |||
496 | .muxsel = MUXSEL(2, 0, 1, 1), | 487 | .muxsel = MUXSEL(2, 0, 1, 1), |
497 | .gpiomux = { 0, 1, 2, 3 }, | 488 | .gpiomux = { 0, 1, 2, 3 }, |
498 | .gpiomute = 4, | 489 | .gpiomute = 4, |
499 | .needs_tvaudio = 1, | ||
500 | .pll = PLL_28, | 490 | .pll = PLL_28, |
501 | .tuner_type = UNSET, | 491 | .tuner_type = UNSET, |
502 | .tuner_addr = ADDR_UNSET, | 492 | .tuner_addr = ADDR_UNSET, |
@@ -510,7 +500,6 @@ struct tvcard bttv_tvcards[] = { | |||
510 | .muxsel = MUXSEL(2, 3, 1, 1), | 500 | .muxsel = MUXSEL(2, 3, 1, 1), |
511 | .gpiomux = { 0x20001,0x10001, 0, 0 }, | 501 | .gpiomux = { 0x20001,0x10001, 0, 0 }, |
512 | .gpiomute = 10, | 502 | .gpiomute = 10, |
513 | .needs_tvaudio = 1, | ||
514 | .tuner_type = UNSET, | 503 | .tuner_type = UNSET, |
515 | .tuner_addr = ADDR_UNSET, | 504 | .tuner_addr = ADDR_UNSET, |
516 | }, | 505 | }, |
@@ -524,7 +513,6 @@ struct tvcard bttv_tvcards[] = { | |||
524 | .gpiomask = 15, | 513 | .gpiomask = 15, |
525 | .muxsel = MUXSEL(2, 3, 1, 1), | 514 | .muxsel = MUXSEL(2, 3, 1, 1), |
526 | .gpiomux = { 13, 14, 11, 7 }, | 515 | .gpiomux = { 13, 14, 11, 7 }, |
527 | .needs_tvaudio = 1, | ||
528 | .tuner_type = UNSET, | 516 | .tuner_type = UNSET, |
529 | .tuner_addr = ADDR_UNSET, | 517 | .tuner_addr = ADDR_UNSET, |
530 | }, | 518 | }, |
@@ -536,7 +524,6 @@ struct tvcard bttv_tvcards[] = { | |||
536 | .gpiomask = 15, | 524 | .gpiomask = 15, |
537 | .muxsel = MUXSEL(2, 3, 1, 1), | 525 | .muxsel = MUXSEL(2, 3, 1, 1), |
538 | .gpiomux = { 13, 14, 11, 7 }, | 526 | .gpiomux = { 13, 14, 11, 7 }, |
539 | .needs_tvaudio = 1, | ||
540 | .msp34xx_alt = 1, | 527 | .msp34xx_alt = 1, |
541 | .pll = PLL_28, | 528 | .pll = PLL_28, |
542 | .tuner_type = TUNER_PHILIPS_PAL, | 529 | .tuner_type = TUNER_PHILIPS_PAL, |
@@ -553,7 +540,6 @@ struct tvcard bttv_tvcards[] = { | |||
553 | .muxsel = MUXSEL(2, 3, 1, 1), | 540 | .muxsel = MUXSEL(2, 3, 1, 1), |
554 | .gpiomux = { 0, 2, 1, 3 }, /* old: {0, 1, 2, 3, 4} */ | 541 | .gpiomux = { 0, 2, 1, 3 }, /* old: {0, 1, 2, 3, 4} */ |
555 | .gpiomute = 4, | 542 | .gpiomute = 4, |
556 | .needs_tvaudio = 1, | ||
557 | .pll = PLL_28, | 543 | .pll = PLL_28, |
558 | .tuner_type = UNSET, | 544 | .tuner_type = UNSET, |
559 | .tuner_addr = ADDR_UNSET, | 545 | .tuner_addr = ADDR_UNSET, |
@@ -567,7 +553,6 @@ struct tvcard bttv_tvcards[] = { | |||
567 | .muxsel = MUXSEL(2, 3, 1, 1), | 553 | .muxsel = MUXSEL(2, 3, 1, 1), |
568 | .gpiomux = { 0, 0, 1, 0 }, | 554 | .gpiomux = { 0, 0, 1, 0 }, |
569 | .gpiomute = 10, | 555 | .gpiomute = 10, |
570 | .needs_tvaudio = 1, | ||
571 | .tuner_type = UNSET, | 556 | .tuner_type = UNSET, |
572 | .tuner_addr = ADDR_UNSET, | 557 | .tuner_addr = ADDR_UNSET, |
573 | }, | 558 | }, |
@@ -583,7 +568,6 @@ struct tvcard bttv_tvcards[] = { | |||
583 | /* 2003-10-20 by "Anton A. Arapov" <arapov@mail.ru> */ | 568 | /* 2003-10-20 by "Anton A. Arapov" <arapov@mail.ru> */ |
584 | .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, | 569 | .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, |
585 | .gpiomute = 0x002000, | 570 | .gpiomute = 0x002000, |
586 | .needs_tvaudio = 1, | ||
587 | .pll = PLL_28, | 571 | .pll = PLL_28, |
588 | .tuner_type = UNSET, | 572 | .tuner_type = UNSET, |
589 | .tuner_addr = ADDR_UNSET, | 573 | .tuner_addr = ADDR_UNSET, |
@@ -597,7 +581,6 @@ struct tvcard bttv_tvcards[] = { | |||
597 | .muxsel = MUXSEL(2, 3, 1, 1, 0), | 581 | .muxsel = MUXSEL(2, 3, 1, 1, 0), |
598 | .gpiomux = { 0x4fa007,0xcfa007,0xcfa007,0xcfa007 }, | 582 | .gpiomux = { 0x4fa007,0xcfa007,0xcfa007,0xcfa007 }, |
599 | .gpiomute = 0xcfa007, | 583 | .gpiomute = 0xcfa007, |
600 | .needs_tvaudio = 1, | ||
601 | .tuner_type = UNSET, | 584 | .tuner_type = UNSET, |
602 | .tuner_addr = ADDR_UNSET, | 585 | .tuner_addr = ADDR_UNSET, |
603 | .volume_gpio = winview_volume, | 586 | .volume_gpio = winview_volume, |
@@ -611,7 +594,6 @@ struct tvcard bttv_tvcards[] = { | |||
611 | .gpiomask = 0, | 594 | .gpiomask = 0, |
612 | .muxsel = MUXSEL(2, 3, 1, 1), | 595 | .muxsel = MUXSEL(2, 3, 1, 1), |
613 | .gpiomux = { 1, 0, 0, 0 }, | 596 | .gpiomux = { 1, 0, 0, 0 }, |
614 | .needs_tvaudio = 1, | ||
615 | .tuner_type = UNSET, | 597 | .tuner_type = UNSET, |
616 | .tuner_addr = ADDR_UNSET, | 598 | .tuner_addr = ADDR_UNSET, |
617 | }, | 599 | }, |
@@ -660,7 +642,6 @@ struct tvcard bttv_tvcards[] = { | |||
660 | .muxsel = MUXSEL(2, 3, 1, 1), | 642 | .muxsel = MUXSEL(2, 3, 1, 1), |
661 | .gpiomux = { 0, 1, 0x800, 0x400 }, | 643 | .gpiomux = { 0, 1, 0x800, 0x400 }, |
662 | .gpiomute = 0xc00, | 644 | .gpiomute = 0xc00, |
663 | .needs_tvaudio = 1, | ||
664 | .pll = PLL_28, | 645 | .pll = PLL_28, |
665 | .tuner_type = UNSET, | 646 | .tuner_type = UNSET, |
666 | .tuner_addr = ADDR_UNSET, | 647 | .tuner_addr = ADDR_UNSET, |
@@ -691,7 +672,6 @@ struct tvcard bttv_tvcards[] = { | |||
691 | .muxsel = MUXSEL(2, 3, 1, 1), | 672 | .muxsel = MUXSEL(2, 3, 1, 1), |
692 | .gpiomux = {0x400, 0x400, 0x400, 0x400 }, | 673 | .gpiomux = {0x400, 0x400, 0x400, 0x400 }, |
693 | .gpiomute = 0xc00, | 674 | .gpiomute = 0xc00, |
694 | .needs_tvaudio = 1, | ||
695 | .pll = PLL_28, | 675 | .pll = PLL_28, |
696 | .tuner_type = UNSET, | 676 | .tuner_type = UNSET, |
697 | .tuner_addr = ADDR_UNSET, | 677 | .tuner_addr = ADDR_UNSET, |
@@ -706,7 +686,6 @@ struct tvcard bttv_tvcards[] = { | |||
706 | .muxsel = MUXSEL(2, 3, 1, 1), | 686 | .muxsel = MUXSEL(2, 3, 1, 1), |
707 | .gpiomux = { 0x20000, 0x30000, 0x10000, 0 }, | 687 | .gpiomux = { 0x20000, 0x30000, 0x10000, 0 }, |
708 | .gpiomute = 0x40000, | 688 | .gpiomute = 0x40000, |
709 | .needs_tvaudio = 0, | ||
710 | .tuner_type = TUNER_PHILIPS_PAL, | 689 | .tuner_type = TUNER_PHILIPS_PAL, |
711 | .tuner_addr = ADDR_UNSET, | 690 | .tuner_addr = ADDR_UNSET, |
712 | .audio_mode_gpio= terratv_audio, | 691 | .audio_mode_gpio= terratv_audio, |
@@ -720,7 +699,6 @@ struct tvcard bttv_tvcards[] = { | |||
720 | .muxsel = MUXSEL(2, 0, 1, 1), | 699 | .muxsel = MUXSEL(2, 0, 1, 1), |
721 | .gpiomux = { 0, 1, 2, 3 }, | 700 | .gpiomux = { 0, 1, 2, 3 }, |
722 | .gpiomute = 4, | 701 | .gpiomute = 4, |
723 | .needs_tvaudio = 1, | ||
724 | .tuner_type = UNSET, | 702 | .tuner_type = UNSET, |
725 | .tuner_addr = ADDR_UNSET, | 703 | .tuner_addr = ADDR_UNSET, |
726 | }, | 704 | }, |
@@ -748,7 +726,6 @@ struct tvcard bttv_tvcards[] = { | |||
748 | .muxsel = MUXSEL(2, 3, 1, 1), | 726 | .muxsel = MUXSEL(2, 3, 1, 1), |
749 | .gpiomux = { 0x20000, 0x30000, 0x10000, 0x00000 }, | 727 | .gpiomux = { 0x20000, 0x30000, 0x10000, 0x00000 }, |
750 | .gpiomute = 0x40000, | 728 | .gpiomute = 0x40000, |
751 | .needs_tvaudio = 0, | ||
752 | .tuner_type = TUNER_PHILIPS_PAL, | 729 | .tuner_type = TUNER_PHILIPS_PAL, |
753 | .tuner_addr = ADDR_UNSET, | 730 | .tuner_addr = ADDR_UNSET, |
754 | .audio_mode_gpio= terratv_audio, | 731 | .audio_mode_gpio= terratv_audio, |
@@ -793,7 +770,6 @@ struct tvcard bttv_tvcards[] = { | |||
793 | .gpiomask = 0, | 770 | .gpiomask = 0, |
794 | .muxsel = MUXSEL(2, 3, 1, 0, 0), | 771 | .muxsel = MUXSEL(2, 3, 1, 0, 0), |
795 | .gpiomux = { 0 }, | 772 | .gpiomux = { 0 }, |
796 | .needs_tvaudio = 1, | ||
797 | .tuner_type = TUNER_ABSENT, | 773 | .tuner_type = TUNER_ABSENT, |
798 | .tuner_addr = ADDR_UNSET, | 774 | .tuner_addr = ADDR_UNSET, |
799 | .muxsel_hook = PXC200_muxsel, | 775 | .muxsel_hook = PXC200_muxsel, |
@@ -834,7 +810,6 @@ struct tvcard bttv_tvcards[] = { | |||
834 | .gpiomask = 0, | 810 | .gpiomask = 0, |
835 | .muxsel = MUXSEL(2, 3, 1, 1), | 811 | .muxsel = MUXSEL(2, 3, 1, 1), |
836 | .gpiomux = { 0 }, | 812 | .gpiomux = { 0 }, |
837 | .needs_tvaudio = 0, | ||
838 | .tuner_type = TUNER_ABSENT, | 813 | .tuner_type = TUNER_ABSENT, |
839 | .tuner_addr = ADDR_UNSET, | 814 | .tuner_addr = ADDR_UNSET, |
840 | }, | 815 | }, |
@@ -847,7 +822,6 @@ struct tvcard bttv_tvcards[] = { | |||
847 | .muxsel = MUXSEL(2, 3, 1, 1), | 822 | .muxsel = MUXSEL(2, 3, 1, 1), |
848 | .gpiomux = { 0x500, 0, 0x300, 0x900 }, | 823 | .gpiomux = { 0x500, 0, 0x300, 0x900 }, |
849 | .gpiomute = 0x900, | 824 | .gpiomute = 0x900, |
850 | .needs_tvaudio = 1, | ||
851 | .pll = PLL_28, | 825 | .pll = PLL_28, |
852 | .tuner_type = TUNER_PHILIPS_PAL, | 826 | .tuner_type = TUNER_PHILIPS_PAL, |
853 | .tuner_addr = ADDR_UNSET, | 827 | .tuner_addr = ADDR_UNSET, |
@@ -874,7 +848,6 @@ struct tvcard bttv_tvcards[] = { | |||
874 | Note: There exists another variant "Winfast 2000" with tv stereo !? | 848 | Note: There exists another variant "Winfast 2000" with tv stereo !? |
875 | Note: eeprom only contains FF and pci subsystem id 107d:6606 | 849 | Note: eeprom only contains FF and pci subsystem id 107d:6606 |
876 | */ | 850 | */ |
877 | .needs_tvaudio = 0, | ||
878 | .pll = PLL_28, | 851 | .pll = PLL_28, |
879 | .has_radio = 1, | 852 | .has_radio = 1, |
880 | .tuner_type = TUNER_PHILIPS_PAL, /* default for now, gpio reads BFFF06 for Pal bg+dk */ | 853 | .tuner_type = TUNER_PHILIPS_PAL, /* default for now, gpio reads BFFF06 for Pal bg+dk */ |
@@ -934,7 +907,6 @@ struct tvcard bttv_tvcards[] = { | |||
934 | .muxsel = MUXSEL(2, 3, 1, 0), | 907 | .muxsel = MUXSEL(2, 3, 1, 0), |
935 | .gpiomux = { 0x551400, 0x551200, 0, 0 }, | 908 | .gpiomux = { 0x551400, 0x551200, 0, 0 }, |
936 | .gpiomute = 0x551c00, | 909 | .gpiomute = 0x551c00, |
937 | .needs_tvaudio = 1, | ||
938 | .pll = PLL_28, | 910 | .pll = PLL_28, |
939 | .tuner_type = TUNER_PHILIPS_PAL_I, | 911 | .tuner_type = TUNER_PHILIPS_PAL_I, |
940 | .tuner_addr = ADDR_UNSET, | 912 | .tuner_addr = ADDR_UNSET, |
@@ -949,7 +921,6 @@ struct tvcard bttv_tvcards[] = { | |||
949 | .muxsel = MUXSEL(2, 3, 1, 1), | 921 | .muxsel = MUXSEL(2, 3, 1, 1), |
950 | .gpiomux = { 2, 0xd0001, 0, 0 }, | 922 | .gpiomux = { 2, 0xd0001, 0, 0 }, |
951 | .gpiomute = 1, | 923 | .gpiomute = 1, |
952 | .needs_tvaudio = 0, | ||
953 | .pll = PLL_28, | 924 | .pll = PLL_28, |
954 | .tuner_type = UNSET, | 925 | .tuner_type = UNSET, |
955 | .tuner_addr = ADDR_UNSET, | 926 | .tuner_addr = ADDR_UNSET, |
@@ -966,7 +937,6 @@ struct tvcard bttv_tvcards[] = { | |||
966 | .gpiomux = { 4, 0, 2, 3 }, | 937 | .gpiomux = { 4, 0, 2, 3 }, |
967 | .gpiomute = 1, | 938 | .gpiomute = 1, |
968 | .no_msp34xx = 1, | 939 | .no_msp34xx = 1, |
969 | .needs_tvaudio = 1, | ||
970 | .tuner_type = TUNER_PHILIPS_NTSC, | 940 | .tuner_type = TUNER_PHILIPS_NTSC, |
971 | .tuner_addr = ADDR_UNSET, | 941 | .tuner_addr = ADDR_UNSET, |
972 | .pll = PLL_28, | 942 | .pll = PLL_28, |
@@ -980,7 +950,6 @@ struct tvcard bttv_tvcards[] = { | |||
980 | .gpiomask = 15, | 950 | .gpiomask = 15, |
981 | .muxsel = MUXSEL(2, 3, 1, 1), | 951 | .muxsel = MUXSEL(2, 3, 1, 1), |
982 | .gpiomux = { 13, 4, 11, 7 }, | 952 | .gpiomux = { 13, 4, 11, 7 }, |
983 | .needs_tvaudio = 1, | ||
984 | .pll = PLL_28, | 953 | .pll = PLL_28, |
985 | .tuner_type = UNSET, | 954 | .tuner_type = UNSET, |
986 | .tuner_addr = ADDR_UNSET, | 955 | .tuner_addr = ADDR_UNSET, |
@@ -995,7 +964,6 @@ struct tvcard bttv_tvcards[] = { | |||
995 | .gpiomask = 0, | 964 | .gpiomask = 0, |
996 | .muxsel = MUXSEL(2, 3, 1, 1), | 965 | .muxsel = MUXSEL(2, 3, 1, 1), |
997 | .gpiomux = { 0, 0, 0, 0}, | 966 | .gpiomux = { 0, 0, 0, 0}, |
998 | .needs_tvaudio = 1, | ||
999 | .no_msp34xx = 1, | 967 | .no_msp34xx = 1, |
1000 | .pll = PLL_28, | 968 | .pll = PLL_28, |
1001 | .tuner_type = TUNER_PHILIPS_PAL_I, | 969 | .tuner_type = TUNER_PHILIPS_PAL_I, |
@@ -1066,7 +1034,6 @@ struct tvcard bttv_tvcards[] = { | |||
1066 | .muxsel = MUXSEL(2, 3, 1, 1), | 1034 | .muxsel = MUXSEL(2, 3, 1, 1), |
1067 | .gpiomux = { 0x20000, 0x30000, 0x10000, 0 }, | 1035 | .gpiomux = { 0x20000, 0x30000, 0x10000, 0 }, |
1068 | .gpiomute = 0x40000, | 1036 | .gpiomute = 0x40000, |
1069 | .needs_tvaudio = 1, | ||
1070 | .no_msp34xx = 1, | 1037 | .no_msp34xx = 1, |
1071 | .pll = PLL_35, | 1038 | .pll = PLL_35, |
1072 | .tuner_type = TUNER_PHILIPS_PAL_I, | 1039 | .tuner_type = TUNER_PHILIPS_PAL_I, |
@@ -1084,7 +1051,6 @@ struct tvcard bttv_tvcards[] = { | |||
1084 | .muxsel = MUXSEL(2, 3, 1, 1), | 1051 | .muxsel = MUXSEL(2, 3, 1, 1), |
1085 | .gpiomux = {2,0,0,0 }, | 1052 | .gpiomux = {2,0,0,0 }, |
1086 | .gpiomute = 1, | 1053 | .gpiomute = 1, |
1087 | .needs_tvaudio = 1, | ||
1088 | .pll = PLL_28, | 1054 | .pll = PLL_28, |
1089 | .tuner_type = UNSET, | 1055 | .tuner_type = UNSET, |
1090 | .tuner_addr = ADDR_UNSET, | 1056 | .tuner_addr = ADDR_UNSET, |
@@ -1163,7 +1129,6 @@ struct tvcard bttv_tvcards[] = { | |||
1163 | MUX2 (mask 0x30000): | 1129 | MUX2 (mask 0x30000): |
1164 | 0,2,3= from MSP34xx | 1130 | 0,2,3= from MSP34xx |
1165 | 1= FM stereo Radio from Tuner */ | 1131 | 1= FM stereo Radio from Tuner */ |
1166 | .needs_tvaudio = 0, | ||
1167 | .pll = PLL_28, | 1132 | .pll = PLL_28, |
1168 | .tuner_type = UNSET, | 1133 | .tuner_type = UNSET, |
1169 | .tuner_addr = ADDR_UNSET, | 1134 | .tuner_addr = ADDR_UNSET, |
@@ -1179,7 +1144,6 @@ struct tvcard bttv_tvcards[] = { | |||
1179 | .muxsel = MUXSEL(2, 3, 1, 1), | 1144 | .muxsel = MUXSEL(2, 3, 1, 1), |
1180 | .gpiomux = { 0, 0, 0x10, 8 }, | 1145 | .gpiomux = { 0, 0, 0x10, 8 }, |
1181 | .gpiomute = 4, | 1146 | .gpiomute = 4, |
1182 | .needs_tvaudio = 1, | ||
1183 | .pll = PLL_28, | 1147 | .pll = PLL_28, |
1184 | .tuner_type = TUNER_PHILIPS_PAL, | 1148 | .tuner_type = TUNER_PHILIPS_PAL, |
1185 | .tuner_addr = ADDR_UNSET, | 1149 | .tuner_addr = ADDR_UNSET, |
@@ -1218,7 +1182,6 @@ struct tvcard bttv_tvcards[] = { | |||
1218 | .muxsel = MUXSEL(2, 3, 1, 0), | 1182 | .muxsel = MUXSEL(2, 3, 1, 0), |
1219 | .gpiomux = { 2, 0, 0, 0 }, | 1183 | .gpiomux = { 2, 0, 0, 0 }, |
1220 | .gpiomute = 10, | 1184 | .gpiomute = 10, |
1221 | .needs_tvaudio = 0, | ||
1222 | .pll = PLL_28, | 1185 | .pll = PLL_28, |
1223 | .tuner_type = TUNER_TEMIC_PAL, | 1186 | .tuner_type = TUNER_TEMIC_PAL, |
1224 | .tuner_addr = ADDR_UNSET, | 1187 | .tuner_addr = ADDR_UNSET, |
@@ -1250,7 +1213,6 @@ struct tvcard bttv_tvcards[] = { | |||
1250 | .gpiomask = 0, | 1213 | .gpiomask = 0, |
1251 | .muxsel = MUXSEL(3, 1), | 1214 | .muxsel = MUXSEL(3, 1), |
1252 | .gpiomux = { 0 }, | 1215 | .gpiomux = { 0 }, |
1253 | .needs_tvaudio = 0, | ||
1254 | .no_msp34xx = 1, | 1216 | .no_msp34xx = 1, |
1255 | .pll = PLL_35, | 1217 | .pll = PLL_35, |
1256 | .tuner_type = TUNER_ABSENT, | 1218 | .tuner_type = TUNER_ABSENT, |
@@ -1266,7 +1228,6 @@ struct tvcard bttv_tvcards[] = { | |||
1266 | .muxsel = MUXSEL(2, 3, 1, 1), | 1228 | .muxsel = MUXSEL(2, 3, 1, 1), |
1267 | .gpiomux = { 0x400, 0x400, 0x400, 0x400 }, | 1229 | .gpiomux = { 0x400, 0x400, 0x400, 0x400 }, |
1268 | .gpiomute = 0x800, | 1230 | .gpiomute = 0x800, |
1269 | .needs_tvaudio = 1, | ||
1270 | .pll = PLL_28, | 1231 | .pll = PLL_28, |
1271 | .tuner_type = TUNER_TEMIC_4036FY5_NTSC, | 1232 | .tuner_type = TUNER_TEMIC_4036FY5_NTSC, |
1272 | .tuner_addr = ADDR_UNSET, | 1233 | .tuner_addr = ADDR_UNSET, |
@@ -1312,7 +1273,6 @@ struct tvcard bttv_tvcards[] = { | |||
1312 | .muxsel = MUXSEL(2, 2), | 1273 | .muxsel = MUXSEL(2, 2), |
1313 | .gpiomux = { }, | 1274 | .gpiomux = { }, |
1314 | .no_msp34xx = 1, | 1275 | .no_msp34xx = 1, |
1315 | .needs_tvaudio = 0, | ||
1316 | .pll = PLL_28, | 1276 | .pll = PLL_28, |
1317 | .tuner_type = TUNER_ABSENT, | 1277 | .tuner_type = TUNER_ABSENT, |
1318 | .tuner_addr = ADDR_UNSET, | 1278 | .tuner_addr = ADDR_UNSET, |
@@ -1329,7 +1289,6 @@ struct tvcard bttv_tvcards[] = { | |||
1329 | .muxsel = MUXSEL(2, 3, 1, 0), | 1289 | .muxsel = MUXSEL(2, 3, 1, 0), |
1330 | .gpiomux = { 1, 0, 4, 4 }, | 1290 | .gpiomux = { 1, 0, 4, 4 }, |
1331 | .gpiomute = 9, | 1291 | .gpiomute = 9, |
1332 | .needs_tvaudio = 0, | ||
1333 | .pll = PLL_28, | 1292 | .pll = PLL_28, |
1334 | .tuner_type = TUNER_PHILIPS_PAL, | 1293 | .tuner_type = TUNER_PHILIPS_PAL, |
1335 | .tuner_addr = ADDR_UNSET, | 1294 | .tuner_addr = ADDR_UNSET, |
@@ -1379,7 +1338,6 @@ struct tvcard bttv_tvcards[] = { | |||
1379 | .gpiomute = 0x1800, | 1338 | .gpiomute = 0x1800, |
1380 | .audio_mode_gpio= fv2000s_audio, | 1339 | .audio_mode_gpio= fv2000s_audio, |
1381 | .no_msp34xx = 1, | 1340 | .no_msp34xx = 1, |
1382 | .needs_tvaudio = 1, | ||
1383 | .pll = PLL_28, | 1341 | .pll = PLL_28, |
1384 | .tuner_type = TUNER_PHILIPS_PAL, | 1342 | .tuner_type = TUNER_PHILIPS_PAL, |
1385 | .tuner_addr = ADDR_UNSET, | 1343 | .tuner_addr = ADDR_UNSET, |
@@ -1393,7 +1351,6 @@ struct tvcard bttv_tvcards[] = { | |||
1393 | .muxsel = MUXSEL(2, 3, 1, 1), | 1351 | .muxsel = MUXSEL(2, 3, 1, 1), |
1394 | .gpiomux = { 0x500, 0x500, 0x300, 0x900 }, | 1352 | .gpiomux = { 0x500, 0x500, 0x300, 0x900 }, |
1395 | .gpiomute = 0x900, | 1353 | .gpiomute = 0x900, |
1396 | .needs_tvaudio = 1, | ||
1397 | .pll = PLL_28, | 1354 | .pll = PLL_28, |
1398 | .tuner_type = TUNER_PHILIPS_PAL, | 1355 | .tuner_type = TUNER_PHILIPS_PAL, |
1399 | .tuner_addr = ADDR_UNSET, | 1356 | .tuner_addr = ADDR_UNSET, |
@@ -1477,7 +1434,6 @@ struct tvcard bttv_tvcards[] = { | |||
1477 | .muxsel = MUXSEL(2, 3, 1, 1), | 1434 | .muxsel = MUXSEL(2, 3, 1, 1), |
1478 | .gpiomux = { 0, 0, 11, 7 }, /* TV and Radio with same GPIO ! */ | 1435 | .gpiomux = { 0, 0, 11, 7 }, /* TV and Radio with same GPIO ! */ |
1479 | .gpiomute = 13, | 1436 | .gpiomute = 13, |
1480 | .needs_tvaudio = 1, | ||
1481 | .pll = PLL_28, | 1437 | .pll = PLL_28, |
1482 | .tuner_type = TUNER_LG_PAL_I_FM, | 1438 | .tuner_type = TUNER_LG_PAL_I_FM, |
1483 | .tuner_addr = ADDR_UNSET, | 1439 | .tuner_addr = ADDR_UNSET, |
@@ -1514,7 +1470,6 @@ struct tvcard bttv_tvcards[] = { | |||
1514 | .muxsel = MUXSEL(2, 3, 1, 1), | 1470 | .muxsel = MUXSEL(2, 3, 1, 1), |
1515 | .gpiomux = { 0x01, 0x00, 0x03, 0x03 }, | 1471 | .gpiomux = { 0x01, 0x00, 0x03, 0x03 }, |
1516 | .gpiomute = 0x09, | 1472 | .gpiomute = 0x09, |
1517 | .needs_tvaudio = 1, | ||
1518 | .no_msp34xx = 1, | 1473 | .no_msp34xx = 1, |
1519 | .pll = PLL_28, | 1474 | .pll = PLL_28, |
1520 | .tuner_type = TUNER_PHILIPS_PAL, | 1475 | .tuner_type = TUNER_PHILIPS_PAL, |
@@ -1540,7 +1495,6 @@ struct tvcard bttv_tvcards[] = { | |||
1540 | .gpiomask = 0, | 1495 | .gpiomask = 0, |
1541 | .muxsel = MUXSEL(2, 3, 1, 0, 0), | 1496 | .muxsel = MUXSEL(2, 3, 1, 0, 0), |
1542 | .gpiomux = { 0 }, | 1497 | .gpiomux = { 0 }, |
1543 | .needs_tvaudio = 0, | ||
1544 | .tuner_type = TUNER_ABSENT, | 1498 | .tuner_type = TUNER_ABSENT, |
1545 | .tuner_addr = ADDR_UNSET, | 1499 | .tuner_addr = ADDR_UNSET, |
1546 | }, | 1500 | }, |
@@ -1567,7 +1521,6 @@ struct tvcard bttv_tvcards[] = { | |||
1567 | .muxsel = MUXSEL(2, 1, 1), | 1521 | .muxsel = MUXSEL(2, 1, 1), |
1568 | .gpiomux = { 0, 1, 2, 2 }, | 1522 | .gpiomux = { 0, 1, 2, 2 }, |
1569 | .gpiomute = 4, | 1523 | .gpiomute = 4, |
1570 | .needs_tvaudio = 0, | ||
1571 | .tuner_type = TUNER_PHILIPS_PAL, | 1524 | .tuner_type = TUNER_PHILIPS_PAL, |
1572 | .tuner_addr = ADDR_UNSET, | 1525 | .tuner_addr = ADDR_UNSET, |
1573 | .pll = PLL_28, | 1526 | .pll = PLL_28, |
@@ -1597,7 +1550,6 @@ struct tvcard bttv_tvcards[] = { | |||
1597 | .gpiomask = 0, | 1550 | .gpiomask = 0, |
1598 | .muxsel = MUXSEL(2, 3, 1, 0), | 1551 | .muxsel = MUXSEL(2, 3, 1, 0), |
1599 | .gpiomux = { 0 }, | 1552 | .gpiomux = { 0 }, |
1600 | .needs_tvaudio = 0, | ||
1601 | .no_msp34xx = 1, | 1553 | .no_msp34xx = 1, |
1602 | .pll = PLL_28, | 1554 | .pll = PLL_28, |
1603 | .tuner_type = TUNER_ABSENT, | 1555 | .tuner_type = TUNER_ABSENT, |
@@ -1619,7 +1571,6 @@ struct tvcard bttv_tvcards[] = { | |||
1619 | * btwincap uses 0x80000/0x80003 | 1571 | * btwincap uses 0x80000/0x80003 |
1620 | */ | 1572 | */ |
1621 | .gpiomute = 4, | 1573 | .gpiomute = 4, |
1622 | .needs_tvaudio = 0, | ||
1623 | .no_msp34xx = 1, | 1574 | .no_msp34xx = 1, |
1624 | .pll = PLL_28, | 1575 | .pll = PLL_28, |
1625 | .tuner_type = TUNER_PHILIPS_PAL, | 1576 | .tuner_type = TUNER_PHILIPS_PAL, |
@@ -1655,7 +1606,6 @@ struct tvcard bttv_tvcards[] = { | |||
1655 | /* .audio_inputs= 1, */ | 1606 | /* .audio_inputs= 1, */ |
1656 | .svhs = 2, | 1607 | .svhs = 2, |
1657 | .muxsel = MUXSEL(2, 0, 1, 1), | 1608 | .muxsel = MUXSEL(2, 0, 1, 1), |
1658 | .needs_tvaudio = 1, | ||
1659 | .pll = PLL_28, | 1609 | .pll = PLL_28, |
1660 | .tuner_type = UNSET, | 1610 | .tuner_type = UNSET, |
1661 | .tuner_addr = ADDR_UNSET, | 1611 | .tuner_addr = ADDR_UNSET, |
@@ -1875,7 +1825,6 @@ struct tvcard bttv_tvcards[] = { | |||
1875 | .muxsel = MUXSEL(2, 3, 1, 1), | 1825 | .muxsel = MUXSEL(2, 3, 1, 1), |
1876 | .gpiomux = { 0, 1, 2, 3}, | 1826 | .gpiomux = { 0, 1, 2, 3}, |
1877 | .gpiomute = 4, | 1827 | .gpiomute = 4, |
1878 | .needs_tvaudio = 1, | ||
1879 | .tuner_type = TUNER_PHILIPS_PAL, | 1828 | .tuner_type = TUNER_PHILIPS_PAL, |
1880 | .tuner_addr = ADDR_UNSET, | 1829 | .tuner_addr = ADDR_UNSET, |
1881 | .pll = PLL_28, | 1830 | .pll = PLL_28, |
@@ -1902,7 +1851,6 @@ struct tvcard bttv_tvcards[] = { | |||
1902 | .gpiomask = 0, | 1851 | .gpiomask = 0, |
1903 | .muxsel = MUXSEL(2, 3), | 1852 | .muxsel = MUXSEL(2, 3), |
1904 | .gpiomux = { 0 }, | 1853 | .gpiomux = { 0 }, |
1905 | .needs_tvaudio = 0, | ||
1906 | .no_msp34xx = 1, | 1854 | .no_msp34xx = 1, |
1907 | .pll = PLL_28, | 1855 | .pll = PLL_28, |
1908 | .tuner_type = TUNER_ABSENT, | 1856 | .tuner_type = TUNER_ABSENT, |
@@ -1920,7 +1868,6 @@ struct tvcard bttv_tvcards[] = { | |||
1920 | /* Tuner, Radio, external, internal, off, on */ | 1868 | /* Tuner, Radio, external, internal, off, on */ |
1921 | .gpiomux = { 0x08, 0x0f, 0x0a, 0x08 }, | 1869 | .gpiomux = { 0x08, 0x0f, 0x0a, 0x08 }, |
1922 | .gpiomute = 0x0f, | 1870 | .gpiomute = 0x0f, |
1923 | .needs_tvaudio = 0, | ||
1924 | .no_msp34xx = 1, | 1871 | .no_msp34xx = 1, |
1925 | .pll = PLL_28, | 1872 | .pll = PLL_28, |
1926 | .tuner_type = TUNER_PHILIPS_NTSC, | 1873 | .tuner_type = TUNER_PHILIPS_NTSC, |
@@ -1936,7 +1883,6 @@ struct tvcard bttv_tvcards[] = { | |||
1936 | .svhs = 2, | 1883 | .svhs = 2, |
1937 | .gpiomask = 0x00, | 1884 | .gpiomask = 0x00, |
1938 | .muxsel = MUXSEL(2, 3, 1, 1), | 1885 | .muxsel = MUXSEL(2, 3, 1, 1), |
1939 | .needs_tvaudio = 1, | ||
1940 | .no_msp34xx = 1, | 1886 | .no_msp34xx = 1, |
1941 | .pll = PLL_28, | 1887 | .pll = PLL_28, |
1942 | .tuner_type = TUNER_PHILIPS_PAL, | 1888 | .tuner_type = TUNER_PHILIPS_PAL, |
@@ -2034,7 +1980,6 @@ struct tvcard bttv_tvcards[] = { | |||
2034 | .gpiomask = 0, | 1980 | .gpiomask = 0, |
2035 | .muxsel = MUXSEL(2, 3, 1, 0), | 1981 | .muxsel = MUXSEL(2, 3, 1, 0), |
2036 | .gpiomux = { 0 }, | 1982 | .gpiomux = { 0 }, |
2037 | .needs_tvaudio = 0, | ||
2038 | .no_msp34xx = 1, | 1983 | .no_msp34xx = 1, |
2039 | .pll = PLL_28, | 1984 | .pll = PLL_28, |
2040 | .tuner_type = TUNER_ABSENT, | 1985 | .tuner_type = TUNER_ABSENT, |
@@ -2049,7 +1994,6 @@ struct tvcard bttv_tvcards[] = { | |||
2049 | .gpiomask = 0x00, | 1994 | .gpiomask = 0x00, |
2050 | .muxsel = MUXSEL(2, 3, 1, 0), | 1995 | .muxsel = MUXSEL(2, 3, 1, 0), |
2051 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 1996 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2052 | .needs_tvaudio = 0, | ||
2053 | .pll = PLL_28, | 1997 | .pll = PLL_28, |
2054 | .tuner_type = TUNER_ABSENT, | 1998 | .tuner_type = TUNER_ABSENT, |
2055 | .tuner_addr = ADDR_UNSET, | 1999 | .tuner_addr = ADDR_UNSET, |
@@ -2062,7 +2006,6 @@ struct tvcard bttv_tvcards[] = { | |||
2062 | .gpiomask = 0x00, | 2006 | .gpiomask = 0x00, |
2063 | .muxsel = MUXSEL(2, 3, 1, 1), | 2007 | .muxsel = MUXSEL(2, 3, 1, 1), |
2064 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2008 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2065 | .needs_tvaudio = 0, | ||
2066 | .pll = PLL_28, | 2009 | .pll = PLL_28, |
2067 | .tuner_type = TUNER_ABSENT, | 2010 | .tuner_type = TUNER_ABSENT, |
2068 | .tuner_addr = ADDR_UNSET, | 2011 | .tuner_addr = ADDR_UNSET, |
@@ -2079,7 +2022,6 @@ struct tvcard bttv_tvcards[] = { | |||
2079 | .muxsel = MUXSEL(2, 2, 2, 2, 3, 3, 3, 3, 1, 0), | 2022 | .muxsel = MUXSEL(2, 2, 2, 2, 3, 3, 3, 3, 1, 0), |
2080 | .muxsel_hook = phytec_muxsel, | 2023 | .muxsel_hook = phytec_muxsel, |
2081 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2024 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2082 | .needs_tvaudio = 1, | ||
2083 | .pll = PLL_28, | 2025 | .pll = PLL_28, |
2084 | .tuner_type = TUNER_ABSENT, | 2026 | .tuner_type = TUNER_ABSENT, |
2085 | .tuner_addr = ADDR_UNSET, | 2027 | .tuner_addr = ADDR_UNSET, |
@@ -2094,7 +2036,6 @@ struct tvcard bttv_tvcards[] = { | |||
2094 | .muxsel = MUXSEL(2, 2, 2, 2, 3, 3, 3, 3, 1, 1), | 2036 | .muxsel = MUXSEL(2, 2, 2, 2, 3, 3, 3, 3, 1, 1), |
2095 | .muxsel_hook = phytec_muxsel, | 2037 | .muxsel_hook = phytec_muxsel, |
2096 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2038 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2097 | .needs_tvaudio = 1, | ||
2098 | .pll = PLL_28, | 2039 | .pll = PLL_28, |
2099 | .tuner_type = TUNER_ABSENT, | 2040 | .tuner_type = TUNER_ABSENT, |
2100 | .tuner_addr = ADDR_UNSET, | 2041 | .tuner_addr = ADDR_UNSET, |
@@ -2118,7 +2059,6 @@ struct tvcard bttv_tvcards[] = { | |||
2118 | .tuner_type = TUNER_ABSENT, | 2059 | .tuner_type = TUNER_ABSENT, |
2119 | .tuner_addr = ADDR_UNSET, | 2060 | .tuner_addr = ADDR_UNSET, |
2120 | .svhs = NO_SVHS, /* card has no svhs */ | 2061 | .svhs = NO_SVHS, /* card has no svhs */ |
2121 | .needs_tvaudio = 0, | ||
2122 | .no_msp34xx = 1, | 2062 | .no_msp34xx = 1, |
2123 | .no_tda7432 = 1, | 2063 | .no_tda7432 = 1, |
2124 | .gpiomask = 0x00, | 2064 | .gpiomask = 0x00, |
@@ -2168,7 +2108,6 @@ struct tvcard bttv_tvcards[] = { | |||
2168 | .gpiomask = 3, | 2108 | .gpiomask = 3, |
2169 | .muxsel = MUXSEL(2, 3, 1, 1), | 2109 | .muxsel = MUXSEL(2, 3, 1, 1), |
2170 | .gpiomux = { 1, 1, 1, 1 }, | 2110 | .gpiomux = { 1, 1, 1, 1 }, |
2171 | .needs_tvaudio = 1, | ||
2172 | .tuner_type = TUNER_PHILIPS_PAL, | 2111 | .tuner_type = TUNER_PHILIPS_PAL, |
2173 | .tuner_addr = ADDR_UNSET, | 2112 | .tuner_addr = ADDR_UNSET, |
2174 | .pll = PLL_35, | 2113 | .pll = PLL_35, |
@@ -2210,7 +2149,6 @@ struct tvcard bttv_tvcards[] = { | |||
2210 | .muxsel = MUXSEL(2, 3, 1, 0), | 2149 | .muxsel = MUXSEL(2, 3, 1, 0), |
2211 | .no_msp34xx = 1, | 2150 | .no_msp34xx = 1, |
2212 | .no_tda7432 = 1, | 2151 | .no_tda7432 = 1, |
2213 | .needs_tvaudio = 0, | ||
2214 | .tuner_type = TUNER_ABSENT, | 2152 | .tuner_type = TUNER_ABSENT, |
2215 | .tuner_addr = ADDR_UNSET, | 2153 | .tuner_addr = ADDR_UNSET, |
2216 | }, | 2154 | }, |
@@ -2222,7 +2160,6 @@ struct tvcard bttv_tvcards[] = { | |||
2222 | .tuner_type = TUNER_PHILIPS_PAL, | 2160 | .tuner_type = TUNER_PHILIPS_PAL, |
2223 | .tuner_addr = ADDR_UNSET, | 2161 | .tuner_addr = ADDR_UNSET, |
2224 | .svhs = 2, | 2162 | .svhs = 2, |
2225 | .needs_tvaudio = 0, | ||
2226 | .gpiomask = 0x68, | 2163 | .gpiomask = 0x68, |
2227 | .muxsel = MUXSEL(2, 3, 1), | 2164 | .muxsel = MUXSEL(2, 3, 1), |
2228 | .gpiomux = { 0x68, 0x68, 0x61, 0x61 }, | 2165 | .gpiomux = { 0x68, 0x68, 0x61, 0x61 }, |
@@ -2241,7 +2178,6 @@ struct tvcard bttv_tvcards[] = { | |||
2241 | .muxsel = MUXSEL(2, 3, 1, 1), | 2178 | .muxsel = MUXSEL(2, 3, 1, 1), |
2242 | .gpiomux = { 0, 1, 2, 2 }, | 2179 | .gpiomux = { 0, 1, 2, 2 }, |
2243 | .gpiomute = 3, | 2180 | .gpiomute = 3, |
2244 | .needs_tvaudio = 0, | ||
2245 | .pll = PLL_28, | 2181 | .pll = PLL_28, |
2246 | .tuner_type = TUNER_PHILIPS_PAL, | 2182 | .tuner_type = TUNER_PHILIPS_PAL, |
2247 | .tuner_addr = ADDR_UNSET, | 2183 | .tuner_addr = ADDR_UNSET, |
@@ -2265,7 +2201,6 @@ struct tvcard bttv_tvcards[] = { | |||
2265 | .muxsel = MUXSEL(2, 2, 2, 2), | 2201 | .muxsel = MUXSEL(2, 2, 2, 2), |
2266 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2202 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2267 | .pll = PLL_28, | 2203 | .pll = PLL_28, |
2268 | .needs_tvaudio = 0, | ||
2269 | .muxsel_hook = picolo_tetra_muxsel,/*Required as it doesn't follow the classic input selection policy*/ | 2204 | .muxsel_hook = picolo_tetra_muxsel,/*Required as it doesn't follow the classic input selection policy*/ |
2270 | .tuner_type = TUNER_ABSENT, | 2205 | .tuner_type = TUNER_ABSENT, |
2271 | .tuner_addr = ADDR_UNSET, | 2206 | .tuner_addr = ADDR_UNSET, |
@@ -2358,7 +2293,6 @@ struct tvcard bttv_tvcards[] = { | |||
2358 | .muxsel = MUXSEL(2, 3, 1, 1), | 2293 | .muxsel = MUXSEL(2, 3, 1, 1), |
2359 | .gpiomux = { 2, 0, 0, 0 }, | 2294 | .gpiomux = { 2, 0, 0, 0 }, |
2360 | .gpiomute = 10, | 2295 | .gpiomute = 10, |
2361 | .needs_tvaudio = 0, | ||
2362 | .pll = PLL_28, | 2296 | .pll = PLL_28, |
2363 | .tuner_type = TUNER_PHILIPS_PAL, | 2297 | .tuner_type = TUNER_PHILIPS_PAL, |
2364 | .tuner_addr = ADDR_UNSET, | 2298 | .tuner_addr = ADDR_UNSET, |
@@ -2405,7 +2339,6 @@ struct tvcard bttv_tvcards[] = { | |||
2405 | .tuner_addr = ADDR_UNSET, | 2339 | .tuner_addr = ADDR_UNSET, |
2406 | .gpiomask = 0x008007, | 2340 | .gpiomask = 0x008007, |
2407 | .gpiomux = { 0, 0x000001,0,0 }, | 2341 | .gpiomux = { 0, 0x000001,0,0 }, |
2408 | .needs_tvaudio = 1, | ||
2409 | .has_radio = 1, | 2342 | .has_radio = 1, |
2410 | }, | 2343 | }, |
2411 | [BTTV_BOARD_TIBET_CS16] = { | 2344 | [BTTV_BOARD_TIBET_CS16] = { |
@@ -2518,7 +2451,6 @@ struct tvcard bttv_tvcards[] = { | |||
2518 | .muxsel = MUXSEL(2, 3, 1, 1), | 2451 | .muxsel = MUXSEL(2, 3, 1, 1), |
2519 | .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, | 2452 | .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, |
2520 | .gpiomute = 0x002000, | 2453 | .gpiomute = 0x002000, |
2521 | .needs_tvaudio = 1, | ||
2522 | .pll = PLL_28, | 2454 | .pll = PLL_28, |
2523 | .tuner_type = TUNER_YMEC_TVF66T5_B_DFF, | 2455 | .tuner_type = TUNER_YMEC_TVF66T5_B_DFF, |
2524 | .tuner_addr = 0xc1 >>1, | 2456 | .tuner_addr = 0xc1 >>1, |
@@ -2534,7 +2466,6 @@ struct tvcard bttv_tvcards[] = { | |||
2534 | .muxsel = MUXSEL(2, 3, 1, 1), | 2466 | .muxsel = MUXSEL(2, 3, 1, 1), |
2535 | .gpiomux = { 0, 1, 2, 2 }, | 2467 | .gpiomux = { 0, 1, 2, 2 }, |
2536 | .gpiomute = 3, | 2468 | .gpiomute = 3, |
2537 | .needs_tvaudio = 0, | ||
2538 | .pll = PLL_28, | 2469 | .pll = PLL_28, |
2539 | .tuner_type = TUNER_TENA_9533_DI, | 2470 | .tuner_type = TUNER_TENA_9533_DI, |
2540 | .tuner_addr = ADDR_UNSET, | 2471 | .tuner_addr = ADDR_UNSET, |
@@ -2615,7 +2546,6 @@ struct tvcard bttv_tvcards[] = { | |||
2615 | .muxsel = MUXSEL(2, 3, 1, 1), | 2546 | .muxsel = MUXSEL(2, 3, 1, 1), |
2616 | .gpiomux = { 2, 0, 0, 0 }, | 2547 | .gpiomux = { 2, 0, 0, 0 }, |
2617 | .gpiomute = 1, | 2548 | .gpiomute = 1, |
2618 | .needs_tvaudio = 1, | ||
2619 | .pll = PLL_28, | 2549 | .pll = PLL_28, |
2620 | .tuner_type = TUNER_PHILIPS_NTSC, | 2550 | .tuner_type = TUNER_PHILIPS_NTSC, |
2621 | .tuner_addr = ADDR_UNSET, | 2551 | .tuner_addr = ADDR_UNSET, |
@@ -2714,7 +2644,6 @@ struct tvcard bttv_tvcards[] = { | |||
2714 | .muxsel = MUXSEL(2, 3, 1, 1), | 2644 | .muxsel = MUXSEL(2, 3, 1, 1), |
2715 | .gpiomux = { 0x20001,0x10001, 0, 0 }, | 2645 | .gpiomux = { 0x20001,0x10001, 0, 0 }, |
2716 | .gpiomute = 10, | 2646 | .gpiomute = 10, |
2717 | .needs_tvaudio = 1, | ||
2718 | .pll = PLL_28, | 2647 | .pll = PLL_28, |
2719 | .tuner_type = TUNER_PHILIPS_PAL_I, | 2648 | .tuner_type = TUNER_PHILIPS_PAL_I, |
2720 | .tuner_addr = ADDR_UNSET, | 2649 | .tuner_addr = ADDR_UNSET, |
@@ -2746,7 +2675,6 @@ struct tvcard bttv_tvcards[] = { | |||
2746 | .muxsel = MUXSEL(2, 3, 1, 1), | 2675 | .muxsel = MUXSEL(2, 3, 1, 1), |
2747 | .gpiomux = { 0, 1, 2, 2 }, /* CONTVFMi */ | 2676 | .gpiomux = { 0, 1, 2, 2 }, /* CONTVFMi */ |
2748 | .gpiomute = 3, /* CONTVFMi */ | 2677 | .gpiomute = 3, /* CONTVFMi */ |
2749 | .needs_tvaudio = 0, | ||
2750 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* TCL MK3 */ | 2678 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* TCL MK3 */ |
2751 | .tuner_addr = ADDR_UNSET, | 2679 | .tuner_addr = ADDR_UNSET, |
2752 | .pll = PLL_28, | 2680 | .pll = PLL_28, |
@@ -2785,7 +2713,6 @@ struct tvcard bttv_tvcards[] = { | |||
2785 | .gpiomask = 0x00, | 2713 | .gpiomask = 0x00, |
2786 | .muxsel = MUXSEL(0, 2, 3, 1), | 2714 | .muxsel = MUXSEL(0, 2, 3, 1), |
2787 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2715 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2788 | .needs_tvaudio = 0, | ||
2789 | .pll = PLL_28, | 2716 | .pll = PLL_28, |
2790 | .tuner_type = TUNER_ABSENT, | 2717 | .tuner_type = TUNER_ABSENT, |
2791 | .tuner_addr = ADDR_UNSET, | 2718 | .tuner_addr = ADDR_UNSET, |
@@ -2799,7 +2726,6 @@ struct tvcard bttv_tvcards[] = { | |||
2799 | .gpiomask = 0x00, | 2726 | .gpiomask = 0x00, |
2800 | .muxsel = MUXSEL(2, 3, 1), | 2727 | .muxsel = MUXSEL(2, 3, 1), |
2801 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2728 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2802 | .needs_tvaudio = 0, | ||
2803 | .pll = PLL_28, | 2729 | .pll = PLL_28, |
2804 | .tuner_type = TUNER_ABSENT, | 2730 | .tuner_type = TUNER_ABSENT, |
2805 | .tuner_addr = ADDR_UNSET, | 2731 | .tuner_addr = ADDR_UNSET, |
@@ -2813,7 +2739,6 @@ struct tvcard bttv_tvcards[] = { | |||
2813 | .gpiomask = 0x00, | 2739 | .gpiomask = 0x00, |
2814 | .muxsel = MUXSEL(3, 2, 1), | 2740 | .muxsel = MUXSEL(3, 2, 1), |
2815 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2741 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2816 | .needs_tvaudio = 0, | ||
2817 | .pll = PLL_28, | 2742 | .pll = PLL_28, |
2818 | .tuner_type = TUNER_ABSENT, | 2743 | .tuner_type = TUNER_ABSENT, |
2819 | .tuner_addr = ADDR_UNSET, | 2744 | .tuner_addr = ADDR_UNSET, |
@@ -2877,7 +2802,6 @@ struct tvcard bttv_tvcards[] = { | |||
2877 | .gpiomask = 0, | 2802 | .gpiomask = 0, |
2878 | .muxsel = MUXSEL(2, 3), | 2803 | .muxsel = MUXSEL(2, 3), |
2879 | .gpiomux = { 0 }, | 2804 | .gpiomux = { 0 }, |
2880 | .needs_tvaudio = 0, | ||
2881 | .no_msp34xx = 1, | 2805 | .no_msp34xx = 1, |
2882 | .pll = PLL_28, | 2806 | .pll = PLL_28, |
2883 | .tuner_type = TUNER_ABSENT, | 2807 | .tuner_type = TUNER_ABSENT, |
diff --git a/drivers/media/video/bt8xx/bttv.h b/drivers/media/video/bt8xx/bttv.h index c5171619ac79..acfe2f3b92d9 100644 --- a/drivers/media/video/bt8xx/bttv.h +++ b/drivers/media/video/bt8xx/bttv.h | |||
@@ -236,7 +236,6 @@ struct tvcard { | |||
236 | /* i2c audio flags */ | 236 | /* i2c audio flags */ |
237 | unsigned int no_msp34xx:1; | 237 | unsigned int no_msp34xx:1; |
238 | unsigned int no_tda7432:1; | 238 | unsigned int no_tda7432:1; |
239 | unsigned int needs_tvaudio:1; | ||
240 | unsigned int msp34xx_alt:1; | 239 | unsigned int msp34xx_alt:1; |
241 | /* Note: currently no card definition needs to mark the presence | 240 | /* Note: currently no card definition needs to mark the presence |
242 | of a RDS saa6588 chip. If this is ever needed, then add a new | 241 | of a RDS saa6588 chip. If this is ever needed, then add a new |