]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] dvb-frontends/cxd2841er: support IF speed calc from tuner values
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 9 Apr 2017 19:38:17 +0000 (16:38 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 12:46:22 +0000 (09:46 -0300)
commit4b866c4e656956d060cb1c46eb1b8b711c6e7ad7
tree1d65163ab0bab187c1a5ece4d8023503f16cf073
parentc7518d13f70e62e2af3a30858a977365811783df
[media] dvb-frontends/cxd2841er: support IF speed calc from tuner values

Add a AUTO_IFHZ flag and a function that will read IF speed values from any
attached tuner if the tuner supports this and if AUTO_IFHZ is enabled, and
else the passed default value (which probably matches Sony ASCOT tuners)
will be passed back. The returned value is then used to calculate the iffeq
which the demod will be programmed with.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Acked-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/cxd2841er.c
drivers/media/dvb-frontends/cxd2841er.h