[media] cxd2820r: improve IF frequency setting
authorAntti Palosaari <crope@iki.fi>
Mon, 8 Aug 2016 18:54:10 +0000 (15:54 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 13:38:41 +0000 (10:38 -0300)
commitfcd09f6592cc1d55dea1571297ad88b9024de80c
treeb1eac6d196783e100a99454b3f04da0dd84447ef
parent7d4b64028c4bc8db01047b852777dbded4635de6
[media] cxd2820r: improve IF frequency setting

Use 64-bit calculation.

Return error if tuner does not provide get_if_frequency() callback.
All currently used tuners has it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/cxd2820r_c.c
drivers/media/dvb-frontends/cxd2820r_priv.h
drivers/media/dvb-frontends/cxd2820r_t.c
drivers/media/dvb-frontends/cxd2820r_t2.c