[media] cxd2820r: switch automatically between DVB-T and DVB-T2
authorAntti Palosaari <crope@iki.fi>
Tue, 3 May 2011 23:31:36 +0000 (20:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:30:19 +0000 (09:30 -0300)
commite47b78f036bf1c30a5263ccdf1f638d1612b0586
treef0d9d08aeae766dfd3408150dd4ed3ea2615ab21
parent2e1ea06e9cc7aacdd6e77939e51743405299c9c2
[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>
drivers/media/dvb/frontends/cxd2820r_core.c
drivers/media/dvb/frontends/cxd2820r_priv.h