diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-cards.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-cards.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/media/video/ivtv/ivtv-cards.c b/drivers/media/video/ivtv/ivtv-cards.c index 26322e933999..f23c6b8d6911 100644 --- a/drivers/media/video/ivtv/ivtv-cards.c +++ b/drivers/media/video/ivtv/ivtv-cards.c | |||
@@ -880,7 +880,7 @@ static const struct ivtv_card ivtv_card_pg600v2 = { | |||
880 | .hw_video = IVTV_HW_CX25840, | 880 | .hw_video = IVTV_HW_CX25840, |
881 | .hw_audio = IVTV_HW_CX25840, | 881 | .hw_audio = IVTV_HW_CX25840, |
882 | .hw_audio_ctrl = IVTV_HW_CX25840, | 882 | .hw_audio_ctrl = IVTV_HW_CX25840, |
883 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER, | 883 | .hw_all = IVTV_HW_CX25840, |
884 | .video_inputs = { | 884 | .video_inputs = { |
885 | { IVTV_CARD_INPUT_SVIDEO1, 0, | 885 | { IVTV_CARD_INPUT_SVIDEO1, 0, |
886 | CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 }, | 886 | CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 }, |
@@ -889,9 +889,6 @@ static const struct ivtv_card ivtv_card_pg600v2 = { | |||
889 | .audio_inputs = { | 889 | .audio_inputs = { |
890 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, | 890 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, |
891 | }, | 891 | }, |
892 | .tuners = { | ||
893 | { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, | ||
894 | }, | ||
895 | .pci_list = ivtv_pci_pg600v2, | 892 | .pci_list = ivtv_pci_pg600v2, |
896 | .i2c = &ivtv_i2c_std, | 893 | .i2c = &ivtv_i2c_std, |
897 | }; | 894 | }; |
@@ -914,13 +911,17 @@ static const struct ivtv_card ivtv_card_club3d = { | |||
914 | .hw_audio_ctrl = IVTV_HW_CX25840, | 911 | .hw_audio_ctrl = IVTV_HW_CX25840, |
915 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER, | 912 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER, |
916 | .video_inputs = { | 913 | .video_inputs = { |
917 | { IVTV_CARD_INPUT_SVIDEO1, 0, | 914 | { IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 }, |
915 | { IVTV_CARD_INPUT_SVIDEO1, 1, | ||
918 | CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 }, | 916 | CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 }, |
919 | { IVTV_CARD_INPUT_COMPOSITE1, 0, CX25840_COMPOSITE3 }, | 917 | { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE3 }, |
920 | }, | 918 | }, |
921 | .audio_inputs = { | 919 | .audio_inputs = { |
920 | { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5 }, | ||
922 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, | 921 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, |
923 | }, | 922 | }, |
923 | .radio_input = { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5 }, | ||
924 | .gpio_init = { .direction = 0x1000, .initial_value = 0x1000 }, /* tuner reset */ | ||
924 | .tuners = { | 925 | .tuners = { |
925 | { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, | 926 | { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, |
926 | }, | 927 | }, |
@@ -944,7 +945,7 @@ static const struct ivtv_card ivtv_card_avertv_mce116 = { | |||
944 | .hw_video = IVTV_HW_CX25840, | 945 | .hw_video = IVTV_HW_CX25840, |
945 | .hw_audio = IVTV_HW_CX25840, | 946 | .hw_audio = IVTV_HW_CX25840, |
946 | .hw_audio_ctrl = IVTV_HW_CX25840, | 947 | .hw_audio_ctrl = IVTV_HW_CX25840, |
947 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER | IVTV_HW_WM8739, | 948 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_WM8739, |
948 | .video_inputs = { | 949 | .video_inputs = { |
949 | { IVTV_CARD_INPUT_SVIDEO1, 0, CX25840_SVIDEO3 }, | 950 | { IVTV_CARD_INPUT_SVIDEO1, 0, CX25840_SVIDEO3 }, |
950 | { IVTV_CARD_INPUT_COMPOSITE1, 0, CX25840_COMPOSITE1 }, | 951 | { IVTV_CARD_INPUT_COMPOSITE1, 0, CX25840_COMPOSITE1 }, |
@@ -953,9 +954,6 @@ static const struct ivtv_card ivtv_card_avertv_mce116 = { | |||
953 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, 1 }, | 954 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, 1 }, |
954 | }, | 955 | }, |
955 | .gpio_init = { .direction = 0xe000, .initial_value = 0x4000 }, /* enable line-in */ | 956 | .gpio_init = { .direction = 0xe000, .initial_value = 0x4000 }, /* enable line-in */ |
956 | .tuners = { | ||
957 | { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, | ||
958 | }, | ||
959 | .pci_list = ivtv_pci_avertv_mce116, | 957 | .pci_list = ivtv_pci_avertv_mce116, |
960 | .i2c = &ivtv_i2c_std, | 958 | .i2c = &ivtv_i2c_std, |
961 | }; | 959 | }; |