lkml.org 
[lkml]   [2005]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 6/14 2.6.13-rc2-mm1] V4L I2C BT832
- Removed unused structures.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>

linux/drivers/media/video/bt832.c | 12 ------------
1 files changed, 12 deletions(-)

diff -u linux-2.6.13/drivers/media/video/bt832.c linux/drivers/media/video/bt832.c
--- linux-2.6.13/drivers/media/video/bt832.c 2005-07-06 00:46:33.000000000 -0300
+++ linux/drivers/media/video/bt832.c 2005-07-07 19:56:44.000000000 -0300
@@ -138,25 +138,13 @@

bt832_hexdump(i2c_client_s,buf);

-#if 0
- // Full 30/25 Frame rate
- printk("Full 30/25 Frame rate\n");
- buf[0]=BT832_VP_CONTROL0; // Reg.39
- buf[1]= 0x00;
- if (2 != (rc = i2c_master_send(i2c_client_s,buf,2)))
- printk("bt832: i2c i/o error FFR: rc == %d (should be 2)\n",rc);

- bt832_hexdump(i2c_client_s,buf);
-#endif
-
-#if 1
// for testing (even works when no camera attached)
printk("bt832: *** Generate NTSC M Bars *****\n");
buf[0]=BT832_VP_TESTCONTROL0; // Reg. 42
buf[1]=3; // Generate NTSC System M bars, Generate Frame timing internally
if (2 != (rc = i2c_master_send(i2c_client_s,buf,2)))
printk("bt832: i2c i/o error MBAR: rc == %d (should be 2)\n",rc);
-#endif

printk("Bt832: Camera Present: %s\n",
(buf[1+BT832_CAM_STATUS] & BT832_56_CAMERA_PRESENT) ? "yes":"no");
\
 
 \ /
  Last update: 2005-07-09 03:22    [W:0.052 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site