Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261486
b: refs/heads/master
c: 3b2cfd6
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 32ad376 commit 98a4ed8
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 9daf9bccb3f82a61edfc62515297f1b2b876a591
refs/heads/master: 3b2cfd6e1a4e727787b0a27ee7985e4012d7a142
9 changes: 8 additions & 1 deletion trunk/drivers/media/dvb/ngene/ngene-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1582,11 +1582,18 @@ static int init_channels(struct ngene *dev)
return 0;
}

static struct cxd2099_cfg cxd_cfg = {
.bitrate = 62000,
.adr = 0x40,
.polarity = 0,
.clock_mode = 0,
};

static void cxd_attach(struct ngene *dev)
{
struct ngene_ci *ci = &dev->ci;

ci->en = cxd2099_attach(0x40, dev, &dev->channel[0].i2c_adapter);
ci->en = cxd2099_attach(&cxd_cfg, dev, &dev->channel[0].i2c_adapter);
ci->dev = dev;
return;
}
Expand Down

0 comments on commit 98a4ed8

Please sign in to comment.