Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113925
b: refs/heads/master
c: 9ebeae5
h: refs/heads/master
i:
  113923: fd7ce5a
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 395ff31 commit e4feaaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 96af9880c0d38fa6f331d1dd4cd39c5f5227fbbf
refs/heads/master: 9ebeae5641b141a71ed442e9fcb4993f6c0cd04f
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/mxb.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,10 @@ static int mxb_probe(struct saa7146_dev* dev)

mxb->i2c_adapter = (struct i2c_adapter) {
.class = I2C_CLASS_TV_ANALOG,
.name = "mxb",
};

snprintf(mxb->i2c_adapter.name, sizeof(mxb->i2c_adapter.name), "mxb%d", mxb_num);

saa7146_i2c_adapter_prepare(dev, &mxb->i2c_adapter, SAA7146_I2C_BUS_BIT_RATE_480);
if(i2c_add_adapter(&mxb->i2c_adapter) < 0) {
DEB_S(("cannot register i2c-device. skipping.\n"));
Expand Down

0 comments on commit e4feaaa

Please sign in to comment.