summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/cxd2820r_c.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-08-10 01:49:09 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-22 15:41:15 +0200
commit07fdf7d9f19fb601a0cc75c47ecd55aa26019eed (patch)
tree42c2533a8007e3e57a6156a989558836788a3041 /drivers/media/dvb-frontends/cxd2820r_c.c
parent[media] cxd2820r: wrap legacy DVBv3 statistics via DVBv5 statistics (diff)
downloadlinux-07fdf7d9f19fb601a0cc75c47ecd55aa26019eed.tar.xz
linux-07fdf7d9f19fb601a0cc75c47ecd55aa26019eed.zip
[media] cxd2820r: add I2C driver bindings
Add I2C driver bindings in order to support proper I2C driver registration with driver core. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_c.c')
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_c.c b/drivers/media/dvb-frontends/cxd2820r_c.c
index 82df94413aeb..0d036e1a43e2 100644
--- a/drivers/media/dvb-frontends/cxd2820r_c.c
+++ b/drivers/media/dvb-frontends/cxd2820r_c.c
@@ -42,9 +42,9 @@ int cxd2820r_set_frontend_c(struct dvb_frontend *fe)
{ 0x10059, 0x50, 0xff },
{ 0x10087, 0x0c, 0x3c },
{ 0x1008b, 0x07, 0xff },
- { 0x1001f, priv->cfg.if_agc_polarity << 7, 0x80 },
- { 0x10070, priv->cfg.ts_mode, 0xff },
- { 0x10071, !priv->cfg.ts_clock_inv << 4, 0x10 },
+ { 0x1001f, priv->if_agc_polarity << 7, 0x80 },
+ { 0x10070, priv->ts_mode, 0xff },
+ { 0x10071, !priv->ts_clk_inv << 4, 0x10 },
};
dev_dbg(&priv->i2c->dev, "%s: frequency=%d symbol_rate=%d\n", __func__,