summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/cxd2820r_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-05-03 20:31:36 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 09:30:19 -0300
commite47b78f036bf1c30a5263ccdf1f638d1612b0586 (patch)
treef0d9d08aeae766dfd3408150dd4ed3ea2615ab21 /drivers/media/dvb/frontends/cxd2820r_priv.h
parent2e1ea06e9cc7aacdd6e77939e51743405299c9c2 (diff)
[media] cxd2820r: switch automatically between DVB-T and DVB-T2
Remove old DVB-T2 freq module param and detect DVB-T/T2 automatically. Implementation is trial and error, if DVB-T does not lock try DVB-T2 and vice versa. That's done by replacing normal DVBFE_ALGO_SW with DVBFE_ALGO_CUSTOM which gives better control for tuning process. DVB-C still uses normal software ZigZag, DVBFE_ALGO_SW. Signed-off-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, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/cxd2820r_priv.h b/drivers/media/dvb/frontends/cxd2820r_priv.h
index 835e37b98049..d4e2e0b76c10 100644
--- a/drivers/media/dvb/frontends/cxd2820r_priv.h
+++ b/drivers/media/dvb/frontends/cxd2820r_priv.h
@@ -73,6 +73,7 @@ struct cxd2820r_priv {
u8 gpio[3];
fe_delivery_system_t delivery_system;
+ int last_tune_failed:1; /* for switch between T and T2 tune */
};
/* cxd2820r_core.c */