diff options
Diffstat (limited to 'drivers/media/video/mxb.c')
-rw-r--r-- | drivers/media/video/mxb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index 84aec62e8452..238bb40ae098 100644 --- a/drivers/media/video/mxb.c +++ b/drivers/media/video/mxb.c | |||
@@ -266,7 +266,7 @@ static int mxb_init_done(struct saa7146_dev* dev) | |||
266 | int i = 0, err = 0; | 266 | int i = 0, err = 0; |
267 | 267 | ||
268 | /* select video mode in saa7111a */ | 268 | /* select video mode in saa7111a */ |
269 | saa7111a_call(mxb, tuner, s_std, std); | 269 | saa7111a_call(mxb, core, s_std, std); |
270 | 270 | ||
271 | /* select tuner-output on saa7111a */ | 271 | /* select tuner-output on saa7111a */ |
272 | i = 0; | 272 | i = 0; |
@@ -286,7 +286,7 @@ static int mxb_init_done(struct saa7146_dev* dev) | |||
286 | tuner_call(mxb, tuner, s_frequency, &mxb->cur_freq); | 286 | tuner_call(mxb, tuner, s_frequency, &mxb->cur_freq); |
287 | 287 | ||
288 | /* set a default video standard */ | 288 | /* set a default video standard */ |
289 | tuner_call(mxb, tuner, s_std, std); | 289 | tuner_call(mxb, core, s_std, std); |
290 | 290 | ||
291 | /* mute audio on tea6420s */ | 291 | /* mute audio on tea6420s */ |
292 | tea6420_1_call(mxb, audio, s_routing, &TEA6420_line[6][0]); | 292 | tea6420_1_call(mxb, audio, s_routing, &TEA6420_line[6][0]); |
@@ -788,7 +788,7 @@ static int std_callback(struct saa7146_dev *dev, struct saa7146_standard *standa | |||
788 | saa7146_write(dev, GPIO_CTRL, 0x00404050); | 788 | saa7146_write(dev, GPIO_CTRL, 0x00404050); |
789 | /* unset the 7111 gpio register -- I don't know what this does exactly */ | 789 | /* unset the 7111 gpio register -- I don't know what this does exactly */ |
790 | saa7111a_call(mxb, core, s_gpio, 0); | 790 | saa7111a_call(mxb, core, s_gpio, 0); |
791 | tuner_call(mxb, tuner, s_std, std); | 791 | tuner_call(mxb, core, s_std, std); |
792 | } else { | 792 | } else { |
793 | v4l2_std_id std = V4L2_STD_PAL_BG; | 793 | v4l2_std_id std = V4L2_STD_PAL_BG; |
794 | 794 | ||
@@ -797,7 +797,7 @@ static int std_callback(struct saa7146_dev *dev, struct saa7146_standard *standa | |||
797 | saa7146_write(dev, GPIO_CTRL, 0x00404050); | 797 | saa7146_write(dev, GPIO_CTRL, 0x00404050); |
798 | /* set the 7111 gpio register -- I don't know what this does exactly */ | 798 | /* set the 7111 gpio register -- I don't know what this does exactly */ |
799 | saa7111a_call(mxb, core, s_gpio, 1); | 799 | saa7111a_call(mxb, core, s_gpio, 1); |
800 | tuner_call(mxb, tuner, s_std, std); | 800 | tuner_call(mxb, core, s_std, std); |
801 | } | 801 | } |
802 | return 0; | 802 | return 0; |
803 | } | 803 | } |