diff options
Diffstat (limited to 'drivers/media/video/mt20xx.c')
-rw-r--r-- | drivers/media/video/mt20xx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/mt20xx.c b/drivers/media/video/mt20xx.c index c7c9f3f8715c..2987c1685da5 100644 --- a/drivers/media/video/mt20xx.c +++ b/drivers/media/video/mt20xx.c | |||
@@ -361,13 +361,13 @@ static int mt2032_init(struct i2c_client *c) | |||
361 | static void mt2050_set_antenna(struct i2c_client *c, unsigned char antenna) | 361 | static void mt2050_set_antenna(struct i2c_client *c, unsigned char antenna) |
362 | { | 362 | { |
363 | struct tuner *t = i2c_get_clientdata(c); | 363 | struct tuner *t = i2c_get_clientdata(c); |
364 | unsigned char buf[2]; | 364 | unsigned char buf[2]; |
365 | int ret; | 365 | int ret; |
366 | 366 | ||
367 | buf[0] = 6; | 367 | buf[0] = 6; |
368 | buf[1] = antenna ? 0x11 : 0x10; | 368 | buf[1] = antenna ? 0x11 : 0x10; |
369 | ret=i2c_master_send(c,buf,2); | 369 | ret=i2c_master_send(c,buf,2); |
370 | tuner_dbg("mt2050: enabled antenna connector %d\n", antenna); | 370 | tuner_dbg("mt2050: enabled antenna connector %d\n", antenna); |
371 | } | 371 | } |
372 | 372 | ||
373 | static void mt2050_set_if_freq(struct i2c_client *c,unsigned int freq, unsigned int if2) | 373 | static void mt2050_set_if_freq(struct i2c_client *c,unsigned int freq, unsigned int if2) |