Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4698
b: refs/heads/master
c: 5f8434a
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab authored and Linus Torvalds committed Jul 12, 2005
1 parent 32bacff commit f4dccfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db036a07ac42fbc410b14ae69f0c5440a8a417cb
refs/heads/master: 5f8434a620383eec1115e73fdb18c53e049b26b9
12 changes: 0 additions & 12 deletions trunk/drivers/media/video/bt832.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,25 +138,13 @@ int bt832_init(struct i2c_client *i2c_client_s)

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");
Expand Down

0 comments on commit f4dccfa

Please sign in to comment.