Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185027
b: refs/heads/master
c: c05d490
h: refs/heads/master
i:
  185025: 6c9464a
  185023: dc5911e
v: v3
  • Loading branch information
Jean Delvare committed Mar 2, 2010
1 parent cf3a134 commit b42dfef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 393764340beb595c1ad7dd2d2243c2b6551aaa71
refs/heads/master: c05d490234b7cf1715d9568d2041d9bc598a0b45
8 changes: 5 additions & 3 deletions trunk/drivers/i2c/busses/i2c-tiny-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
#define CMD_I2C_IO_BEGIN (1<<0)
#define CMD_I2C_IO_END (1<<1)

/* i2c bit delay, default is 10us -> 100kHz */
/* i2c bit delay, default is 10us -> 100kHz max
(in practice, due to additional delays in the i2c bitbanging
code this results in a i2c clock of about 50kHz) */
static unsigned short delay = 10;
module_param(delay, ushort, 0);
MODULE_PARM_DESC(delay, "bit delay in microseconds, "
"e.g. 10 for 100kHz (default is 100kHz)");
MODULE_PARM_DESC(delay, "bit delay in microseconds "
"(default is 10us for 100kHz max)");

static int usb_read(struct i2c_adapter *adapter, int cmd,
int value, int index, void *data, int len);
Expand Down

0 comments on commit b42dfef

Please sign in to comment.