diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index e2febcd6e529..0d50d7448fc5 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -4611,7 +4611,7 @@ struct saa7134_board saa7134_boards[] = { | |||
4611 | .tuner_type = TUNER_YMEC_TVF_5533MF, | 4611 | .tuner_type = TUNER_YMEC_TVF_5533MF, |
4612 | .radio_type = TUNER_TEA5767, | 4612 | .radio_type = TUNER_TEA5767, |
4613 | .tuner_addr = ADDR_UNSET, | 4613 | .tuner_addr = ADDR_UNSET, |
4614 | .radio_addr = ADDR_UNSET, | 4614 | .radio_addr = 0x60, |
4615 | .gpiomask = 0x80000700, | 4615 | .gpiomask = 0x80000700, |
4616 | .inputs = { { | 4616 | .inputs = { { |
4617 | .name = name_tv, | 4617 | .name = name_tv, |
@@ -6109,7 +6109,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) | |||
6109 | 6109 | ||
6110 | tun_setup.mode_mask = T_RADIO; | 6110 | tun_setup.mode_mask = T_RADIO; |
6111 | 6111 | ||
6112 | saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup); | 6112 | saa_call_all(dev, tuner, s_type_addr, &tun_setup); |
6113 | mode_mask &= ~T_RADIO; | 6113 | mode_mask &= ~T_RADIO; |
6114 | } | 6114 | } |
6115 | 6115 | ||
@@ -6121,7 +6121,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) | |||
6121 | 6121 | ||
6122 | tun_setup.mode_mask = mode_mask; | 6122 | tun_setup.mode_mask = mode_mask; |
6123 | 6123 | ||
6124 | saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup); | 6124 | saa_call_all(dev, tuner, s_type_addr, &tun_setup); |
6125 | } | 6125 | } |
6126 | 6126 | ||
6127 | if (dev->tda9887_conf) { | 6127 | if (dev->tda9887_conf) { |
@@ -6130,8 +6130,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) | |||
6130 | tda9887_cfg.tuner = TUNER_TDA9887; | 6130 | tda9887_cfg.tuner = TUNER_TDA9887; |
6131 | tda9887_cfg.priv = &dev->tda9887_conf; | 6131 | tda9887_cfg.priv = &dev->tda9887_conf; |
6132 | 6132 | ||
6133 | saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, | 6133 | saa_call_all(dev, tuner, s_config, &tda9887_cfg); |
6134 | &tda9887_cfg); | ||
6135 | } | 6134 | } |
6136 | 6135 | ||
6137 | if (dev->tuner_type == TUNER_XC2028) { | 6136 | if (dev->tuner_type == TUNER_XC2028) { |
@@ -6158,7 +6157,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) | |||
6158 | xc2028_cfg.tuner = TUNER_XC2028; | 6157 | xc2028_cfg.tuner = TUNER_XC2028; |
6159 | xc2028_cfg.priv = &ctl; | 6158 | xc2028_cfg.priv = &ctl; |
6160 | 6159 | ||
6161 | saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &xc2028_cfg); | 6160 | saa_call_all(dev, tuner, s_config, &xc2028_cfg); |
6162 | } | 6161 | } |
6163 | } | 6162 | } |
6164 | 6163 | ||
@@ -6401,7 +6400,7 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
6401 | ctl.xtal_freq = TEA5767_HIGH_LO_13MHz; | 6400 | ctl.xtal_freq = TEA5767_HIGH_LO_13MHz; |
6402 | tea5767_cfg.tuner = TUNER_TEA5767; | 6401 | tea5767_cfg.tuner = TUNER_TEA5767; |
6403 | tea5767_cfg.priv = &ctl; | 6402 | tea5767_cfg.priv = &ctl; |
6404 | saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tea5767_cfg); | 6403 | saa_call_all(dev, tuner, s_config, &tea5767_cfg); |
6405 | break; | 6404 | break; |
6406 | } | 6405 | } |
6407 | } /* switch() */ | 6406 | } /* switch() */ |