summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cxd2820r_priv.h
diff options
context:
space:
mode:
authorSteve Kerrison <steve@stevekerrison.com>2011-08-09 07:16:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-03 18:13:41 -0300
commit0db4bf42baae95ddd457b0c4911e851c9169750e (patch)
treed22488cc966eaa498838e91f574d8d65dbe75f35 /drivers/media/dvb/frontends/cxd2820r_priv.h
parent6fb2bdfa068676f436fd333c460549ed64549c5e (diff)
[media] CXD2820R: Replace i2c message translation with repeater gate control
This patch implements an i2c_gate_ctrl op for the cxd2820r. Thanks to Robert Schlabbach for identifying the register address and field to set. The old i2c intercept code that prefixed messages with a passthrough byte has been removed and the PCTV nanoStick T2 290e entry in em28xx-dvb has been updated appropriately. Tested for DVB-T2 use; I would appreciate it if somebody with DVB-C capabilities could test it as well - from inspection I cannot see any problems. This is patch v2. It fixes some schoolboy style errors and removes superfluous i2c entries in cxd2820r.h. Signed-off-by: Steve Kerrison <steve@stevekerrison.com> Acked-by: Antti Palosaari <crope@iki.fi> Tested-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/cxd2820r_priv.h')
-rw-r--r--drivers/media/dvb/frontends/cxd2820r_priv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/cxd2820r_priv.h b/drivers/media/dvb/frontends/cxd2820r_priv.h
index 0c0ebc9d5c4..95539134efd 100644
--- a/drivers/media/dvb/frontends/cxd2820r_priv.h
+++ b/drivers/media/dvb/frontends/cxd2820r_priv.h
@@ -50,7 +50,6 @@ struct cxd2820r_priv {
struct i2c_adapter *i2c;
struct dvb_frontend fe[2];
struct cxd2820r_config cfg;
- struct i2c_adapter tuner_i2c_adapter;
struct mutex fe_lock; /* FE lock */
int active_fe:2; /* FE lock, -1=NONE, 0=DVB-T/T2, 1=DVB-C */