diff options
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 22 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 49 |
2 files changed, 0 insertions, 71 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index 21ebe8f13815..3b653c924730 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -578,14 +578,9 @@ struct tvcard bttv_tvcards[] = { | |||
578 | .svhs = 2, | 578 | .svhs = 2, |
579 | .gpiomask = 0x01fe00, | 579 | .gpiomask = 0x01fe00, |
580 | .muxsel = { 2, 3, 1, 1 }, | 580 | .muxsel = { 2, 3, 1, 1 }, |
581 | #if 0 | ||
582 | /* old */ | ||
583 | .gpiomux = { 0x01c000, 0, 0x018000, 0x014000, 0x002000 }, | ||
584 | #else | ||
585 | /* 2003-10-20 by "Anton A. Arapov" <arapov@mail.ru> */ | 581 | /* 2003-10-20 by "Anton A. Arapov" <arapov@mail.ru> */ |
586 | .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, | 582 | .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, |
587 | .gpiomute = 0x002000, | 583 | .gpiomute = 0x002000, |
588 | #endif | ||
589 | .needs_tvaudio = 1, | 584 | .needs_tvaudio = 1, |
590 | .pll = PLL_28, | 585 | .pll = PLL_28, |
591 | .tuner_type = -1, | 586 | .tuner_type = -1, |
@@ -894,15 +889,10 @@ struct tvcard bttv_tvcards[] = { | |||
894 | .tuner = 0, | 889 | .tuner = 0, |
895 | .svhs = 2, | 890 | .svhs = 2, |
896 | .muxsel = { 2, 3, 1, 1, 0 }, /* TV, CVid, SVid, CVid over SVid connector */ | 891 | .muxsel = { 2, 3, 1, 1, 0 }, /* TV, CVid, SVid, CVid over SVid connector */ |
897 | #if 0 | ||
898 | .gpiomask = 0xc33000, | ||
899 | .gpiomux = { 0x422000,0x1000,0x0000,0x620000,0x800000 }, | ||
900 | #else | ||
901 | /* Alexander Varakin <avarakin@hotmail.com> [stereo version] */ | 892 | /* Alexander Varakin <avarakin@hotmail.com> [stereo version] */ |
902 | .gpiomask = 0xb33000, | 893 | .gpiomask = 0xb33000, |
903 | .gpiomux = { 0x122000,0x1000,0x0000,0x620000 }, | 894 | .gpiomux = { 0x122000,0x1000,0x0000,0x620000 }, |
904 | .gpiomute = 0x800000, | 895 | .gpiomute = 0x800000, |
905 | #endif | ||
906 | /* Audio Routing for "WinFast 2000 XP" (no tv stereo !) | 896 | /* Audio Routing for "WinFast 2000 XP" (no tv stereo !) |
907 | gpio23 -- hef4052:nEnable (0x800000) | 897 | gpio23 -- hef4052:nEnable (0x800000) |
908 | gpio12 -- hef4052:A1 | 898 | gpio12 -- hef4052:A1 |
@@ -1937,11 +1927,6 @@ struct tvcard bttv_tvcards[] = { | |||
1937 | .video_inputs = 4, | 1927 | .video_inputs = 4, |
1938 | .audio_inputs = 1, | 1928 | .audio_inputs = 1, |
1939 | .tuner = -1, | 1929 | .tuner = -1, |
1940 | #if 0 /* TODO ... */ | ||
1941 | .svhs = OSPREY540_SVID_ANALOG, | ||
1942 | .muxsel = { [OSPREY540_COMP_ANALOG] = 2, | ||
1943 | [OSPREY540_SVID_ANALOG] = 3, }, | ||
1944 | #endif | ||
1945 | .pll = PLL_28, | 1930 | .pll = PLL_28, |
1946 | .tuner_type = -1, | 1931 | .tuner_type = -1, |
1947 | .tuner_addr = ADDR_UNSET, | 1932 | .tuner_addr = ADDR_UNSET, |
@@ -1949,10 +1934,6 @@ struct tvcard bttv_tvcards[] = { | |||
1949 | .no_msp34xx = 1, | 1934 | .no_msp34xx = 1, |
1950 | .no_tda9875 = 1, | 1935 | .no_tda9875 = 1, |
1951 | .no_tda7432 = 1, | 1936 | .no_tda7432 = 1, |
1952 | #if 0 /* TODO ... */ | ||
1953 | .muxsel_hook = osprey_540_muxsel, | ||
1954 | .picture_hook = osprey_540_set_picture, | ||
1955 | #endif | ||
1956 | }, | 1937 | }, |
1957 | 1938 | ||
1958 | /* ---- card 0x5C ---------------------------------- */ | 1939 | /* ---- card 0x5C ---------------------------------- */ |
@@ -2627,9 +2608,6 @@ struct tvcard bttv_tvcards[] = { | |||
2627 | .tuner_addr = ADDR_UNSET, | 2608 | .tuner_addr = ADDR_UNSET, |
2628 | .radio_addr = ADDR_UNSET, | 2609 | .radio_addr = ADDR_UNSET, |
2629 | .has_radio = 0, | 2610 | .has_radio = 0, |
2630 | #if 0 | ||
2631 | .has_remote = 1, | ||
2632 | #endif | ||
2633 | }, | 2611 | }, |
2634 | [BTTV_BOARD_SUPER_TV] = { | 2612 | [BTTV_BOARD_SUPER_TV] = { |
2635 | /* Rick C <cryptdragoon@gmail.com> */ | 2613 | /* Rick C <cryptdragoon@gmail.com> */ |
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index 063df03dcf2e..97ef421dd093 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -797,55 +797,6 @@ void cx88_get_stereo(struct cx88_core *core, struct v4l2_tuner *t) | |||
797 | Add some code here later. | 797 | Add some code here later. |
798 | */ | 798 | */ |
799 | 799 | ||
800 | # if 0 | ||
801 | t->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_SAP | | ||
802 | V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2; | ||
803 | t->rxsubchans = V4L2_TUNER_SUB_MONO; | ||
804 | t->audmode = V4L2_TUNER_MODE_MONO; | ||
805 | |||
806 | switch (core->tvaudio) { | ||
807 | case WW_BTSC: | ||
808 | t->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_SAP; | ||
809 | t->rxsubchans = V4L2_TUNER_SUB_STEREO; | ||
810 | if (1 == pilot) { | ||
811 | /* SAP */ | ||
812 | t->rxsubchans |= V4L2_TUNER_SUB_SAP; | ||
813 | } | ||
814 | break; | ||
815 | case WW_A2_BG: | ||
816 | case WW_A2_DK: | ||
817 | case WW_A2_M: | ||
818 | if (1 == pilot) { | ||
819 | /* stereo */ | ||
820 | t->rxsubchans = | ||
821 | V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; | ||
822 | if (0 == mode) | ||
823 | t->audmode = V4L2_TUNER_MODE_STEREO; | ||
824 | } | ||
825 | if (2 == pilot) { | ||
826 | /* dual language -- FIXME */ | ||
827 | t->rxsubchans = | ||
828 | V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; | ||
829 | t->audmode = V4L2_TUNER_MODE_LANG1; | ||
830 | } | ||
831 | break; | ||
832 | case WW_NICAM_BGDKL: | ||
833 | if (0 == mode) { | ||
834 | t->audmode = V4L2_TUNER_MODE_STEREO; | ||
835 | t->rxsubchans |= V4L2_TUNER_SUB_STEREO; | ||
836 | } | ||
837 | break; | ||
838 | case WW_SYSTEM_L_AM: | ||
839 | if (0x0 == mode && !(cx_read(AUD_INIT) & 0x04)) { | ||
840 | t->audmode = V4L2_TUNER_MODE_STEREO; | ||
841 | t->rxsubchans |= V4L2_TUNER_SUB_STEREO; | ||
842 | } | ||
843 | break; | ||
844 | default: | ||
845 | /* nothing */ | ||
846 | break; | ||
847 | } | ||
848 | # endif | ||
849 | return; | 800 | return; |
850 | } | 801 | } |
851 | 802 | ||