Skip to content

Commit

Permalink
[media] ngene: Update for latest cxd2099
Browse files Browse the repository at this point in the history
Modifications for latest cxd2099.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 9daf9bc commit 3b2cfd6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 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 3b2cfd6

Please sign in to comment.