diff options
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-avcore.c')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-avcore.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c index 64e07d335e77..362a4311cdee 100644 --- a/drivers/media/video/cx231xx/cx231xx-avcore.c +++ b/drivers/media/video/cx231xx/cx231xx-avcore.c | |||
@@ -992,7 +992,7 @@ int cx231xx_do_mode_ctrl_overrides(struct cx231xx *dev) | |||
992 | VID_BLK_I2C_ADDRESS, | 992 | VID_BLK_I2C_ADDRESS, |
993 | VERT_TIM_CTRL, | 993 | VERT_TIM_CTRL, |
994 | FLD_VACTIVE_CNT, | 994 | FLD_VACTIVE_CNT, |
995 | 0x1E6000); | 995 | 0x1E7000); |
996 | status = cx231xx_read_modify_write_i2c_dword(dev, | 996 | status = cx231xx_read_modify_write_i2c_dword(dev, |
997 | VID_BLK_I2C_ADDRESS, | 997 | VID_BLK_I2C_ADDRESS, |
998 | VERT_TIM_CTRL, | 998 | VERT_TIM_CTRL, |
@@ -1220,20 +1220,6 @@ int cx231xx_set_audio_decoder_input(struct cx231xx *dev, | |||
1220 | return status; | 1220 | return status; |
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | /* Set resolution of the video */ | ||
1224 | int cx231xx_resolution_set(struct cx231xx *dev) | ||
1225 | { | ||
1226 | /* set horzontal scale */ | ||
1227 | int status = vid_blk_write_word(dev, HSCALE_CTRL, dev->hscale); | ||
1228 | if (status) | ||
1229 | return status; | ||
1230 | |||
1231 | /* set vertical scale */ | ||
1232 | status = vid_blk_write_word(dev, VSCALE_CTRL, dev->vscale); | ||
1233 | |||
1234 | return status; | ||
1235 | } | ||
1236 | |||
1237 | /****************************************************************************** | 1223 | /****************************************************************************** |
1238 | * C H I P Specific C O N T R O L functions * | 1224 | * C H I P Specific C O N T R O L functions * |
1239 | ******************************************************************************/ | 1225 | ******************************************************************************/ |