diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 12 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 4 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/msp3400-kthreads.c | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 692dc69f691d..423e954948be 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -973,12 +973,12 @@ audio_mux(struct bttv *btv, int input, int mute) | |||
973 | For now this is sufficient. */ | 973 | For now this is sufficient. */ |
974 | switch (input) { | 974 | switch (input) { |
975 | case TVAUDIO_INPUT_RADIO: | 975 | case TVAUDIO_INPUT_RADIO: |
976 | route.input = MSP_INPUT(MSP_IN_SCART_2, MSP_IN_TUNER_1, | 976 | route.input = MSP_INPUT(MSP_IN_SCART2, MSP_IN_TUNER1, |
977 | MSP_DSP_OUT_SCART, MSP_DSP_OUT_SCART); | 977 | MSP_DSP_IN_SCART, MSP_DSP_IN_SCART); |
978 | break; | 978 | break; |
979 | case TVAUDIO_INPUT_EXTERN: | 979 | case TVAUDIO_INPUT_EXTERN: |
980 | route.input = MSP_INPUT(MSP_IN_SCART_1, MSP_IN_TUNER_1, | 980 | route.input = MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER1, |
981 | MSP_DSP_OUT_SCART, MSP_DSP_OUT_SCART); | 981 | MSP_DSP_IN_SCART, MSP_DSP_IN_SCART); |
982 | break; | 982 | break; |
983 | case TVAUDIO_INPUT_INTERN: | 983 | case TVAUDIO_INPUT_INTERN: |
984 | /* Yes, this is the same input as for RADIO. I doubt | 984 | /* Yes, this is the same input as for RADIO. I doubt |
@@ -986,8 +986,8 @@ audio_mux(struct bttv *btv, int input, int mute) | |||
986 | input is the BTTV_BOARD_AVERMEDIA98. I wonder how | 986 | input is the BTTV_BOARD_AVERMEDIA98. I wonder how |
987 | that was tested. My guess is that the whole INTERN | 987 | that was tested. My guess is that the whole INTERN |
988 | input does not work. */ | 988 | input does not work. */ |
989 | route.input = MSP_INPUT(MSP_IN_SCART_2, MSP_IN_TUNER_1, | 989 | route.input = MSP_INPUT(MSP_IN_SCART2, MSP_IN_TUNER1, |
990 | MSP_DSP_OUT_SCART, MSP_DSP_OUT_SCART); | 990 | MSP_DSP_IN_SCART, MSP_DSP_IN_SCART); |
991 | break; | 991 | break; |
992 | case TVAUDIO_INPUT_TUNER: | 992 | case TVAUDIO_INPUT_TUNER: |
993 | default: | 993 | default: |
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index f62fd706b45a..3ba3439db580 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -151,8 +151,8 @@ struct em28xx_board em28xx_boards[] = { | |||
151 | },{ | 151 | },{ |
152 | .type = EM28XX_VMUX_SVIDEO, | 152 | .type = EM28XX_VMUX_SVIDEO, |
153 | .vmux = 2, | 153 | .vmux = 2, |
154 | .amux = MSP_INPUT(MSP_IN_SCART_1, MSP_IN_TUNER_1, | 154 | .amux = MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER1, |
155 | MSP_DSP_OUT_SCART, MSP_DSP_OUT_SCART), | 155 | MSP_DSP_IN_SCART, MSP_DSP_IN_SCART), |
156 | }}, | 156 | }}, |
157 | }, | 157 | }, |
158 | [EM2820_BOARD_MSI_VOX_USB_2] = { | 158 | [EM2820_BOARD_MSI_VOX_USB_2] = { |
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index daa2ac2e6b90..ddc92cbb5276 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -222,7 +222,7 @@ static void video_mux(struct em28xx *dev, int index) | |||
222 | if (dev->i2s_speed) | 222 | if (dev->i2s_speed) |
223 | em28xx_i2c_call_clients(dev, VIDIOC_INT_I2S_CLOCK_FREQ, &dev->i2s_speed); | 223 | em28xx_i2c_call_clients(dev, VIDIOC_INT_I2S_CLOCK_FREQ, &dev->i2s_speed); |
224 | route.input = dev->ctl_ainput; | 224 | route.input = dev->ctl_ainput; |
225 | route.output = MSP_OUTPUT(MSP_OUT_SCART1_DA); | 225 | route.output = MSP_OUTPUT(MSP_SC_IN_DSP_SCART1); |
226 | /* Note: this is msp3400 specific */ | 226 | /* Note: this is msp3400 specific */ |
227 | em28xx_i2c_call_clients(dev, VIDIOC_INT_S_AUDIO_ROUTING, &route); | 227 | em28xx_i2c_call_clients(dev, VIDIOC_INT_S_AUDIO_ROUTING, &route); |
228 | ainput = EM28XX_AUDIO_SRC_TUNER; | 228 | ainput = EM28XX_AUDIO_SRC_TUNER; |
diff --git a/drivers/media/video/msp3400-kthreads.c b/drivers/media/video/msp3400-kthreads.c index b41ee9afbd96..633a10213789 100644 --- a/drivers/media/video/msp3400-kthreads.c +++ b/drivers/media/video/msp3400-kthreads.c | |||
@@ -856,11 +856,11 @@ static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in) | |||
856 | break; | 856 | break; |
857 | } | 857 | } |
858 | 858 | ||
859 | if (in == MSP_DSP_OUT_TUNER) | 859 | if (in == MSP_DSP_IN_TUNER) |
860 | source = (source << 8) | 0x20; | 860 | source = (source << 8) | 0x20; |
861 | /* the msp34x2g puts the MAIN_AVC, MAIN and AUX sources in 12, 13, 14 | 861 | /* the msp34x2g puts the MAIN_AVC, MAIN and AUX sources in 12, 13, 14 |
862 | instead of 11, 12, 13. So we add one for that msp version. */ | 862 | instead of 11, 12, 13. So we add one for that msp version. */ |
863 | else if (in >= MSP_DSP_OUT_MAIN_AVC && state->has_dolby_pro_logic) | 863 | else if (in >= MSP_DSP_IN_MAIN_AVC && state->has_dolby_pro_logic) |
864 | source = ((in + 1) << 8) | matrix; | 864 | source = ((in + 1) << 8) | matrix; |
865 | else | 865 | else |
866 | source = (in << 8) | matrix; | 866 | source = (in << 8) | matrix; |