From: Oliver Endriss Date: Sun, 3 Jul 2011 17:03:49 +0000 (-0300) Subject: [media] ngene: Update for latest cxd2099 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b2cfd6e1a4e727787b0a27ee7985e4012d7a142;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] ngene: Update for latest cxd2099 Modifications for latest cxd2099. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- 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) 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; }