diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/ngene/ngene-core.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index fa4b3eb92bd0..df0f0bd00c07 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c | |||
@@ -1582,11 +1582,18 @@ static int init_channels(struct ngene *dev) | |||
1582 | return 0; | 1582 | return 0; |
1583 | } | 1583 | } |
1584 | 1584 | ||
1585 | static struct cxd2099_cfg cxd_cfg = { | ||
1586 | .bitrate = 62000, | ||
1587 | .adr = 0x40, | ||
1588 | .polarity = 0, | ||
1589 | .clock_mode = 0, | ||
1590 | }; | ||
1591 | |||
1585 | static void cxd_attach(struct ngene *dev) | 1592 | static void cxd_attach(struct ngene *dev) |
1586 | { | 1593 | { |
1587 | struct ngene_ci *ci = &dev->ci; | 1594 | struct ngene_ci *ci = &dev->ci; |
1588 | 1595 | ||
1589 | ci->en = cxd2099_attach(0x40, dev, &dev->channel[0].i2c_adapter); | 1596 | ci->en = cxd2099_attach(&cxd_cfg, dev, &dev->channel[0].i2c_adapter); |
1590 | ci->dev = dev; | 1597 | ci->dev = dev; |
1591 | return; | 1598 | return; |
1592 | } | 1599 | } |