aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-avcore.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c
index 76677cb17908..7ba3449b87e4 100644
--- a/drivers/media/video/cx231xx/cx231xx-avcore.c
+++ b/drivers/media/video/cx231xx/cx231xx-avcore.c
@@ -1175,21 +1175,17 @@ int cx231xx_set_audio_decoder_input(struct cx231xx *dev,
1175 1175
1176 status = restartAudioFirmware(dev); 1176 status = restartAudioFirmware(dev);
1177 1177
1178 switch (dev->model) { 1178 switch (dev->board.tuner_type) {
1179 case CX231XX_BOARD_CNXT_CARRAERA: 1179 case TUNER_XC5000:
1180 case CX231XX_BOARD_CNXT_RDE_250: 1180 /* SIF passthrough at 28.6363 MHz sample rate */
1181 case CX231XX_BOARD_CNXT_SHELBY:
1182 case CX231XX_BOARD_CNXT_RDU_250:
1183 case CX231XX_BOARD_CNXT_VIDEO_GRABBER:
1184 status = cx231xx_read_modify_write_i2c_dword(dev, 1181 status = cx231xx_read_modify_write_i2c_dword(dev,
1185 VID_BLK_I2C_ADDRESS, 1182 VID_BLK_I2C_ADDRESS,
1186 CHIP_CTRL, 1183 CHIP_CTRL,
1187 FLD_SIF_EN, 1184 FLD_SIF_EN,
1188 cx231xx_set_field(FLD_SIF_EN, 1)); 1185 cx231xx_set_field(FLD_SIF_EN, 1));
1189 break; 1186 break;
1190 case CX231XX_BOARD_CNXT_RDE_253S: 1187 case TUNER_NXP_TDA18271:
1191 case CX231XX_BOARD_CNXT_RDU_253S: 1188 /* Normal mode: SIF passthrough at 14.32 MHz */
1192 case CX231XX_BOARD_HAUPPAUGE_EXETER:
1193 status = cx231xx_read_modify_write_i2c_dword(dev, 1189 status = cx231xx_read_modify_write_i2c_dword(dev,
1194 VID_BLK_I2C_ADDRESS, 1190 VID_BLK_I2C_ADDRESS,
1195 CHIP_CTRL, 1191 CHIP_CTRL,
@@ -1197,6 +1193,10 @@ int cx231xx_set_audio_decoder_input(struct cx231xx *dev,
1197 cx231xx_set_field(FLD_SIF_EN, 0)); 1193 cx231xx_set_field(FLD_SIF_EN, 0));
1198 break; 1194 break;
1199 default: 1195 default:
1196 /* This is just a casual suggestion to people adding
1197 new boards in case they use a tuner type we don't
1198 currently know about */
1199 printk(KERN_INFO "Unknown tuner type configuring SIF");
1200 break; 1200 break;
1201 } 1201 }
1202 break; 1202 break;