diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-09-09 16:03:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:50 -0400 |
commit | 2f1807102a3a5c9b9782b6e8d271fc8ccef91f0a (patch) | |
tree | b5dc428977c9d9baa5df5b0fb3654ab1536d65a6 /drivers/media/video/saa7134/saa7134-video.c | |
parent | e52e98a7eccfb0e7e91630d01690fb11d77db77d (diff) |
[PATCH] v4l: SAA7134 updates and board additions
- Remove $Id CVS logs for V4L files
- linux/version.h replaced by linux/utsname.h
- Add new Digimatrix card and LG TAPC Mini tuner for it
Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
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/saa7134/saa7134-video.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index a4c2f751d097..35e5e85f669a 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: saa7134-video.c,v 1.36 2005/06/28 23:41:47 mkrufky Exp $ | ||
3 | * | 2 | * |
4 | * device driver for philips saa7134 based TV cards | 3 | * device driver for philips saa7134 based TV cards |
5 | * video4linux video interface | 4 | * video4linux video interface |
@@ -1368,29 +1367,7 @@ static int video_release(struct inode *inode, struct file *file) | |||
1368 | saa_andorb(SAA7134_OFMT_DATA_A, 0x1f, 0); | 1367 | saa_andorb(SAA7134_OFMT_DATA_A, 0x1f, 0); |
1369 | saa_andorb(SAA7134_OFMT_DATA_B, 0x1f, 0); | 1368 | saa_andorb(SAA7134_OFMT_DATA_B, 0x1f, 0); |
1370 | 1369 | ||
1371 | if (dev->tuner_type == TUNER_PHILIPS_TDA8290) { | 1370 | saa7134_i2c_call_clients(dev, TUNER_SET_STANDBY, NULL); |
1372 | u8 data[2]; | ||
1373 | int ret; | ||
1374 | struct i2c_msg msg = {.addr=I2C_ADDR_TDA8290, .flags=0, .buf=data, .len = 2}; | ||
1375 | data[0] = 0x21; | ||
1376 | data[1] = 0xc0; | ||
1377 | ret = i2c_transfer(&dev->i2c_adap, &msg, 1); | ||
1378 | if (ret != 1) | ||
1379 | printk(KERN_ERR "TDA8290 access failure\n"); | ||
1380 | msg.addr = I2C_ADDR_TDA8275; | ||
1381 | data[0] = 0x30; | ||
1382 | data[1] = 0xd0; | ||
1383 | ret = i2c_transfer(&dev->i2c_adap, &msg, 1); | ||
1384 | if (ret != 1) | ||
1385 | printk(KERN_ERR "TDA8275 access failure\n"); | ||
1386 | msg.addr = I2C_ADDR_TDA8290; | ||
1387 | data[0] = 0x21; | ||
1388 | data[1] = 0x80; | ||
1389 | i2c_transfer(&dev->i2c_adap, &msg, 1); | ||
1390 | data[0] = 0x00; | ||
1391 | data[1] = 0x02; | ||
1392 | i2c_transfer(&dev->i2c_adap, &msg, 1); | ||
1393 | } | ||
1394 | 1371 | ||
1395 | /* free stuff */ | 1372 | /* free stuff */ |
1396 | videobuf_mmap_free(&fh->cap); | 1373 | videobuf_mmap_free(&fh->cap); |