diff options
author | Lubomir Bulej <bulej@nenya.ms.mff.cuni.cz> | 2005-11-09 00:38:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:29 -0500 |
commit | 7418f3462aedf6fb962a44c8fa7259dd94530ff5 (patch) | |
tree | 97e8f42d3a11d8c4d2aaf2e89061e621a25a3550 /drivers/media/video/bttv-i2c.c | |
parent | 6e45f5d8d27cb619cf7e94c78a67fb61a4f3dd5e (diff) |
[PATCH] v4l: 895: new avermedia 303 card without radio
- New Avermedia 303 card (without radio).
Signed-off-by: Lubomir Bulej <bulej@nenya.ms.mff.cuni.cz>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/bttv-i2c.c')
-rw-r--r-- | drivers/media/video/bttv-i2c.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/bttv-i2c.c b/drivers/media/video/bttv-i2c.c index 1b3e0a769518..77619eb131f6 100644 --- a/drivers/media/video/bttv-i2c.c +++ b/drivers/media/video/bttv-i2c.c | |||
@@ -294,8 +294,8 @@ static int attach_inform(struct i2c_client *client) | |||
294 | int addr=ADDR_UNSET; | 294 | int addr=ADDR_UNSET; |
295 | 295 | ||
296 | 296 | ||
297 | if (ADDR_UNSET != bttv_tvcards[btv->c.type].tuner_addr) | 297 | if (ADDR_UNSET != bttv_tvcards[btv->c.type].tuner_addr) |
298 | addr = bttv_tvcards[btv->c.type].tuner_addr; | 298 | addr = bttv_tvcards[btv->c.type].tuner_addr; |
299 | 299 | ||
300 | 300 | ||
301 | if (bttv_debug) | 301 | if (bttv_debug) |
@@ -311,10 +311,10 @@ static int attach_inform(struct i2c_client *client) | |||
311 | if ((addr==ADDR_UNSET) || | 311 | if ((addr==ADDR_UNSET) || |
312 | (addr==client->addr)) { | 312 | (addr==client->addr)) { |
313 | 313 | ||
314 | tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV | T_RADIO; | 314 | tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV | T_RADIO; |
315 | tun_setup.type = btv->tuner_type; | 315 | tun_setup.type = btv->tuner_type; |
316 | tun_setup.addr = addr; | 316 | tun_setup.addr = addr; |
317 | bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_setup); | 317 | bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_setup); |
318 | } | 318 | } |
319 | 319 | ||
320 | } | 320 | } |